Skip to content

Instantly share code, notes, and snippets.

@JanHoek
Created May 18, 2014 15:53
Show Gist options
  • Save JanHoek/8771939ca60c970d585b to your computer and use it in GitHub Desktop.
Save JanHoek/8771939ca60c970d585b to your computer and use it in GitHub Desktop.
CSS for a Widget Area with Featured image as background
.features {
background: url(images/default-featurebg.jpg) no-repeat center top;
clear: both;
min-height: 450px;
padding: 2%;
}
features-widgetarea {
padding: 2%;
float: right;
border-radius: 12px;
background-color: #ffffff;
color: #333;
font-size: 10px;
display: inline-block;
}
@phocks
Copy link

phocks commented Apr 13, 2016

I think you missed the dot in front of features-widgetarea otherwise great script.

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