responzive
working version (test)
by slawe
HTML
<section id="page">
<div id="some">
<a href="#" id="thing">button</a>
</div>
</section>
CSS
#page{
display: block;
position: absolute;
width: 100%;
height: 330px;
min-height: 50px;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: black;
}
#some{
display: block;
position: relative;
max-width: 600px;
min-width: 50px;
height: 200px;
min-height: 20px;
background: grey;
border: 10px solid #BADA55;
margin: auto;
top: 50px;
}
#thing{
display: block;
position: relative;
float: none;
width: 0;
max-width: 600px;
min-width: 50px;
margin: auto;
top: 100px;
text-decoration: none;
text-transform: uppercase;
font: normal 1.5em ubuntu;
color: #BADA55;
}
@media screen and (max-width: 200px) {
#thing{
color: #455a04;
font: normal 1em ubuntu;
text-transform: lowercase;
}
#page{
background: #86a42c;
}
#some{
background: #d3e0aa;
}
}