Last active
September 26, 2018 07:52
-
-
Save tomoko523/c60acb2fb27fcb50836ab7bc3596428d to your computer and use it in GitHub Desktop.
Link Button
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
<a href="" class="link-btn">Sample</a> |
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
/* Google Font */ | |
@import url('https://fonts.googleapis.com/css?family=Ubuntu'); | |
@mixin font-default { | |
font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif; | |
font-style: normal; | |
} | |
@mixin font-Ubuntu { | |
font-family: Ubuntu; | |
font-style: normal; | |
} | |
.link-btn { | |
@include font-Ubuntu; | |
display: block; | |
width: 300px; | |
padding: 15px 20px; | |
font-size: 25px; | |
letter-spacing: 0.03em; | |
text-decoration: none; | |
text-align: center; | |
border: 3px solid; | |
box-sizing: border-box; /*要素の幅にpaddig,borderを含める*/ | |
background-color: #FFFFFF; | |
color: #000000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment