Created
April 9, 2014 15:39
-
-
Save robertlyall/10284256 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
.btn-group | |
%a.btn{:href => '#'} Refresh | |
%a.btn{:href => '#'} Follow | |
%a.btn{:href => '#'} Back to list |
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
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.btn-group | |
border-radius: 4px | |
.btn | |
border-radius: 0 | |
&:first-child, | |
&:last-child | |
border-radius: 4px | |
&:first-child | |
border-bottom-right-radius: 0 | |
border-top-right-radius: 0 | |
&:last-child | |
border-bottom-left-radius: 0 | |
border-top-left-radius: 0 | |
.btn | |
background: #FDFEFE | |
background-image: linear-gradient(to top, #F2F9FA 0%, #FDFEFE 100%) | |
border: 1px solid #c6d5d9 | |
border-radius: 4px | |
color: #7b989e | |
display: inline-block | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif | |
font-size: 12px | |
margin-right: -5px | |
padding: 8px 10px | |
text-decoration: none | |
&:hover | |
background-image: linear-gradient(to top, #FDFEFE 0%, #F2F9FA 100%) | |
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
.btn-group { | |
border-radius: 4px; | |
} | |
.btn-group .btn { | |
border-radius: 0; | |
} | |
.btn-group .btn:first-child, .btn-group .btn:last-child { | |
border-radius: 4px; | |
} | |
.btn-group .btn:first-child { | |
border-bottom-right-radius: 0; | |
border-top-right-radius: 0; | |
} | |
.btn-group .btn:last-child { | |
border-bottom-left-radius: 0; | |
border-top-left-radius: 0; | |
} | |
.btn { | |
background: #fdfefe; | |
background-image: linear-gradient(to top, #f2f9fa 0%, #fdfefe 100%); | |
border: 1px solid #c6d5d9; | |
border-radius: 4px; | |
color: #7b989e; | |
display: inline-block; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size: 12px; | |
margin-right: -5px; | |
padding: 8px 10px; | |
text-decoration: none; | |
} | |
.btn:hover { | |
background-image: linear-gradient(to top, #fdfefe 0%, #f2f9fa 100%); | |
} |
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
<div class='btn-group'> | |
<a class='btn' href='#'>Refresh</a> | |
<a class='btn' href='#'>Follow</a> | |
<a class='btn' href='#'>Back to list</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment