Skip to content

Instantly share code, notes, and snippets.

@daimac178
Last active May 15, 2018 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daimac178/5663a6913856716ced520b471b5709be to your computer and use it in GitHub Desktop.
Save daimac178/5663a6913856716ced520b471b5709be to your computer and use it in GitHub Desktop.
/************************************
** H2タグの変更
************************************/
.post h2{
position: relative;
padding: 0.25em 0;
background-color: white;
}
.post h2:after {
content: "";
display: block;
height: 4px;
background: -moz-linear-gradient(to right, #CC543A, transparent);
background: -webkit-linear-gradient(to right, #CC543A, transparent);
background: linear-gradient(to right, #CC543A, transparent);
}
.post h2:first-letter {
font-size: 2em;
color: black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment