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="obal"> <div class="obal2"> bla bla bla <br> bla bla bla <br> bla bla bla</div> </div>
HTML
Autoformát
Standardní režim
Mobilní zobrazení
.obal { border: 1px solid red; border-top: 0 none transparent; display: inline-block; position: relative; margin: 40px; } .obal:before { content: ''; position: absolute; width: 20px; height: 20px; border: 1px solid green; border-radius: 50%; top: -11px; left: 50%; margin-left: -11px; } .obal2 { padding: 20px; position: relative; } .obal2:before { border-top:1px solid red; position:absolute; left:0; right:50%; top:0; margin-right:20px; content: ""; } .obal2:after { border-top:1px solid red; position:absolute; left:50%; right:0; top:0; margin-left:20px; content: ""; }
CSS
Autoformát
CSS reset
Až na konci
J
ava
S
cript
Autoformát
jQuery
Umístění JS
window.onload
</head>
</body>