Created
February 14, 2019 03:36
-
-
Save ato-s/cc4a92f79be9e1bea6fa6286b122c462 to your computer and use it in GitHub Desktop.
TITLE --before line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3 class="c-title03"><span class="c-title03_line">テキスト<sub>®︎</sub></span></h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.c-title03{ | |
line-height: 1.4; | |
font-size: 24px; | |
padding-left: 16px; | |
position: relative; | |
&:before{ | |
content: ""; | |
display: block; | |
position: absolute; | |
top: 15px; | |
left: -64px; | |
width: 65px; | |
height: 1px; | |
background-color: #000; | |
} | |
&_line{ | |
display: inline-block; | |
background: url(/brand/muko/img/bg_line.png) repeat-x center center; | |
} | |
sub{ | |
font-size: 80%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment