christmas navigation
just some cool things with css3 :)
just some cool things with css3 :)
<a href="#">kerstbal</a>
<a href="#">kerstbal</a>
<a href="#">slingers</a>
<a href="#">sneeuwschuiver</a>
<a href="#">kerstlampjes</a>
<div id="opvulling"></div>
body {
body {
background-color: #efefef;
}
a {
width: 150px;
height: 40px;
display: block;
text-align: center;
line-height: 40px;
color: #FFF;
text-decoration: none;
position: relative;
margin: 0 auto;
top: 200px;
background: #910707;
transition: all 0.2s ease-in-out;
box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.2);
font-size: 12px;
text-transform: uppercase;
}
a:hover {
width: 170px;
background: #c40808;
text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5);
}
a:before {
content: " ";
float: left;
top: 30px;
position: absolute;
display: block;
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-right:10px solid #500000;
z-index: -2;
}
a:after {
content: " ";
float: right;
top: 30px;
right: 0;
position: absolute;
display: block;
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 10px solid #500000;
z-index: -2;
}
#opvulling {
position: relative;
margin: 0 auto;
width: 150px;
height: 240px;
z-index:-1;
border-radius: 3px;
border-radius: 3px;
background-image: url(http://image.shutterstock.com/display_pic_with_logo/356110/116702986/stock-photo-abstract-shiny-blur-christmas-background-116702986.jpg);
background-position: 150px, 50px;
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}