Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
:before
:after
a{ position: relative; } a:before{ content: ''; position: absolute; top: 20px; left: 0; width: 100%; height: 5px; background: #f00; }
let pups = document.querySelectorAll('.pups'); for (let i = 0; i < pups.length; i++) { pups[i].innerHTML = +pups[i].innerText + 2; }
content: counter(myCounter) ". ";
id
class
bootstrap
html, body{ max-width: 100%; overflow-x: hidden; }
position: static
z-index
position: relative | absolute | fixed
a.link .text{ position: relative; z-index: 2; }
li
white-space: nowrap;