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="a">a</div> <div class="b">b</div> <div class="flex1"> <div class="c">c<br>c<br>c<br>c<br>c<br>c<br>c<br></div> <div class="flex2"> <div class="d">d</div> <div class="e">e<br>e</div> <div class="f">f<br>f<br>f<br>f<br>f<br>f<br>f<br></div> </div> </div>
HTML
Autoformát
Standardní režim
Mobilní zobrazení
.a { background-color: red;} .b { background-color: red; margin-top: 5px;} .c { background-color: blue; margin-top: 5px; width: 20%; } .d { background-color: green; margin-top: 5px;} .e { background-color: green; margin-top: 5px;} .f { background-color: green; margin-top: 5px; height: 100%;} .flex1 { display: flex; justify-content: center; justify-content: space-between; } .flex2 { display: flex; flex-direction: column; flex: 1 0 80%; }
CSS
Autoformát
CSS reset
Až na konci
J
ava
S
cript
Autoformát
jQuery
Umístění JS
window.onload
</head>
</body>