Nová ukázka
Reset
Načíst z URL
Uložit a získat odkaz
Vztahuje se k…
Nevyplňujte
Napiště „nejsem robot“
▶
Přepnout zobrazení
Výsledek
<div class="clanek"> <h2><a href="#">Why do we use it?</a></h2> <a href="#"><img src="http://img.djpw.cz/sre.png" width="135" height="98" alt="img"></a> <p> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. estibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. estibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volun porttitor, facilisis luctus, metus Donec non enim in turpis Donec non.</p> <a href="#" class="btn">Read more...</a> </div> <div class="clanek"> <h2><a href="#">Why do we use it?</a></h2> <a href="#"><img src="http://img.djpw.cz/sre.png" width="135" height="98" alt="img"></a> <p> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. estibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. estibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volun porttitor, facilisis luctus, metus Donec non enim in turpis Donec non.</p> <a href="#" class="btn">Read more...</a> </div>
HTML
Autoformát
Standardní režim
Mobilní zobrazení
body { height: 100%; margin:0; padding:0; font-family: Arial, Helvetica, Geneva, sans-serif, Verdana, Source Sans Pro, Tahoma; overflow-x: hidden; color: #111; background-color: #ccc; font-size: 14px; line-height: 23px; width: 100%; } .content{ width: 56%; float: left; padding: 1%; margin-top: 10px; } .clanek{ background: #189; margin-top: 0px; margin-right: auto; margin-left: auto; margin-bottom: 10px; padding: 20px; overflow: hidden; } .clanek h2{ font-size: 18px; margin:0 0 .2em 0; } .clanek h2 a:link, .clanek h2 a:visited, .clanek h2 a:hover { color: #000; text-decoration: none; } .clanek img{ float: left; margin-right: 5px; margin-top: 6px; } .clanek p { line-height: 1.6em; text-align: justify; margin-bottom: 8px; margin: 0; } .clanek a { color: inherit; font-weight: bold; text-decoration: none; } .clanek a:hover { color: #fff; background-color: #ccc; } .clanek a.btn { float: right; background: #b0d40e; color: #fff; font-size: 10px; padding: 5px; -webkit-border-radius: .2em; -moz-border-radius: .2em; border-radius: .8em; margin: 0 0 -1em 0; } .clanek a.btn:hover { color: #fff; background-color: #002255; }
CSS
Autoformát
CSS reset
Až na konci
J
ava
S
cript
Autoformát
jQuery
Umístění JS
window.onload
</head>
</body>