Created
August 7, 2014 22:04
-
-
Save alice-liu/cff3c5c6374ee9302850 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
%a | |
test1 | |
%a | |
test2 | |
%a | |
test3 |
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.14) | |
// Compass (v1.0.0.rc.1) | |
// ---- | |
/** | |
* Failed to make a weird horizontal list. | |
*/ | |
@import "compass"; | |
ul { | |
@include inline-list; | |
} | |
li { | |
@include border-radius(10px); | |
background: green; | |
position: relative; | |
border: 1px solid blue; | |
padding: 0 20px; | |
margin: 0; | |
z-index: 10; | |
& ~ &:after { | |
@include border-radius(10px); | |
background: yellow; | |
content: " "; | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
left: -90%; | |
} | |
} | |
a { | |
@include border-radius(10px); | |
float: right; | |
background: green; | |
// display: inline-block; | |
position: relative; | |
border: 1px solid blue; | |
padding: 0 20px; | |
margin: 0; | |
& ~ &:after { | |
@include border-radius(10px); | |
background: yellow; | |
content: "a"; | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: -10px; | |
// left: -90%; | |
} | |
} |
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
Invalid CSS after "/*": expected "/", was "*" |
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> | |
test1 | |
</a> | |
<a> | |
test2 | |
</a> | |
<a> | |
test3 | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment