An html element using CSS only styling to create a starburst - for special offers (for example).
<div class="starburst">
<span class="label">Get something</span> <span class="number">FREE</span> <span class="terms">some terms</span>
{ | |
"android": { | |
"title": "Android Factory - Intro Basic Guide", | |
"url": "https://codenvy.com/factory?id=g08a3escw5kxj2xk", | |
"image": "https://raw.githubusercontent.com/codenvy/factories/master/images/android.png" | |
}, | |
"angular": { | |
"title": "Angular.JS", | |
"url": "https://codenvy.com/f?id=xn9n91ju3khwm375", | |
"image": "https://raw.githubusercontent.com/codenvy/factories/master/images/angularjs.png" |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Center vertically with table layout</title> | |
<style> | |
#wrapper {display:table;} | |
#cell {display:table-cell; vertical-align:middle;} | |
</style> | |
</head> |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Meter</title> | |
<style> | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; |
/* bubbles */ | |
.bubble { | |
border-color: #EE4B4B; | |
position: relative; | |
left: 0px; | |
top: 0px; | |
color:#333; | |
padding:20px; | |
width: 225px; |
ul.hover-xpnd-16, ul.hover-xpnd-32, ul.hover-xpnd-48, ul.hover-xpnd-64 { | |
} | |
ul.hover-xpnd-16 li, ul.hover-xpnd-32 li, ul.hover-xpnd-48 li, ul.hover-xpnd-64 li, div.hover-xpnd-16, div.hover-xpnd-32, div.hover-xpnd-48, div.hover-xpnd-64 { | |
display:inline-block; | |
overflow:hidden; | |
} | |
ul.hover-xpnd-16 li:hover, ul.hover-xpnd-32 li:hover, ul.hover-xpnd-48 li:hover, ul.hover-xpnd-64 li:hover, div.hover-xpnd-16:hover, div.hover-xpnd-32:hover, div.hover-xpnd-48:hover, div.hover-xpnd-64:hover { |