<!doctype html>
<html>
<head>
<style class="base" type="text/css">
div{
width:400px;
height100px;
display:table;
background:blue;
}
</style>
<style class="smartphone" type="text/css" title="smartphone">
div{
width:100px;
height:300px;
display:block;
background:red;
}
</style>
<style class="tablet" type="text/css" title="tablet" media=all "min-width:400px">
div{
width:500px;
height:300px;
margin:100px auto 0 auto;
background:yellow;
}
</style>
</head>
<body>
<div></div>
</body>
</html>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.