Alex.a
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Store
Posts posted by Alex.a
-
-
Как сделать так, чтобы один блок (абсолютно спозиционированный) был виден только в границах другого блока?
-
<div class="box-two"> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> <div>6</div> </div>
.box-two:nth-child(2n) { color: red; }
Ни в какую не хочет работать, браузер chrome, редактор brackets. First-child и last-child тоже не работают, что может быть не так?
Эффект видимости только на определенном элементе
in HTML Coding
Posted
разобрался - нужно использовать overflow