Skip to content

Instantly share code, notes, and snippets.

@frankinedinburgh
Created August 14, 2015 21:43
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 frankinedinburgh/58549996807aa16e6de0 to your computer and use it in GitHub Desktop.
Save frankinedinburgh/58549996807aa16e6de0 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
.border{
$colour: red;
border:{
bottom: 3px solid $colour{
left:{
radius:20px;
}
right:{
radius: 0px;
}
}
top: 1px solid $colour{
left:{
radius: 0px;
}
right:{
radius: 0px;
}
}
}
}
.border {
border-bottom: 3px solid red;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 0px;
border-top: 1px solid red;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
@frankinedinburgh
Copy link
Author

Applying the use of nesting with border properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment