Nová ukázka
Reset
Načíst z URL
Uložit a získat odkaz
Nevyplňujte
Napiště „nejsem robot“
▶
Přepnout zobrazení
Výsledek
<h2> <span>O firmě</span> </h2>
HTML
Autoformát
Standardní režim
Mobilní zobrazení
h2 {text-align: center;} h2:after { content: ''; display: block; border-bottom: 1px solid #CCC; position: relative; top: -1em; z-index: -1; } h2 span { border-top: 1px solid #CCC; border-bottom: 1px solid #CCC; padding: 0 3em; line-height: 2em; background-color: white; display: inline-block; position: relative; } h2 span:before, h2 span:after { position: absolute; content: ''; top: -1px; bottom: -1px; right: 0; width: 1.8em; background: url(i/40x50) center no-repeat; } h2 span:before { left: 0; background-image: url(i/40x50/FF0); }
CSS
Autoformát
CSS reset
Až na konci
J
ava
S
cript
Autoformát
jQuery
Umístění JS
window.onload
</head>
</body>