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/358e6e2704d4e30c7ab95c236b0a8a9f to your computer and use it in GitHub Desktop.
Save daimac178/358e6e2704d4e30c7ab95c236b0a8a9f to your computer and use it in GitHub Desktop.
/************************************
** H3タグの変更
************************************/
.post h3 {
color: #444;
font-size: 24px;
display: flex;
align-items: center;
}
.post h3:before, .post h3:after {
content: "";
flex-grow: 1;
height: 2px;
background: #CC543A;
display: block;
}
.post h3:before {
margin-right: .4em;
background: linear-gradient(-90deg, #CC543A, transparent);
}
.post h3:after {
margin-left: .4em;
background: linear-gradient(90deg, #CC543A, transparent);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment