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="line"></div> <div class="triangle outer"> <div class="triangle inner"></div> </div>
HTML
Autoformát
Standardní režim
Mobilní zobrazení
.line { width: 90%; height: 1px; margin: 0 auto -1px; background-color: #e15915; } .triangle { width: 0px; height: 0px; border-style: solid; margin: auto; line-height: 0px; } .outer { border-width: 90px 58px 0 58px; border-color: #e15915 transparent transparent transparent; position: relative; } .inner { border-width: 88px 56px 0 56px; border-color: white transparent transparent transparent; position: absolute; left: -56px; top: -89px; }
CSS
Autoformát
CSS reset
Až na konci
J
ava
S
cript
Autoformát
jQuery
Umístění JS
window.onload
</head>
</body>