Skip to content

Instantly share code, notes, and snippets.

@WhatIsHeDoing
Created July 8, 2012 11:40
Show Gist options
  • Save WhatIsHeDoing/3070619 to your computer and use it in GitHub Desktop.
Save WhatIsHeDoing/3070619 to your computer and use it in GitHub Desktop.
Sample Wordpress Article Styling with SASS
article
{
margin-bottom: 1em;
padding-bottom: 2em;
&:not(:last-child)
{
border-bottom: thin solid #000;
}
p
{
line-height: 15pt;
margin: 1em 0;
a
{
text-decoration: underline;
&:hover
{
-webkit-transition-duration: 0.5s;
-webkit-transition-property: background-color;
background-color: #000;
color: #fff;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment