nav a {
position: relative;
}
nav a:hover::after {
left: 50%;
tranform: translateX(-50%);
}
.block {
position: relative;
min-height: 100vh;
outline: 1px dashed red;
overflow: hidden;
background-image: radial-gradient(circle at left,
rgba(6,0,121,1) 0%,
rgba(6,0,121,1) 600px,
rgba(6,0,121,0) 600px);
}
.block {
position: relative;
min-height: 100vh;
overflow: hidden;
outline: 1px dashed red;
}
.block::after {
content: '';
width: 150vh;
height: 150vh;
background-color: blue;
border-radius: 100%;
position: absolute;
top: 50%;
left: -50vw;
transform: translateY(-50%);
}
<h3 class="title">Title</h3>
<h3 class="title">Информация</h3>
.title {
display: flex;
justify-content: center;
font-size: 40px;
color: red;
text-transform: uppercase;
font-weight: 200;
}
.title:before, .title:after {
flex-grow: 1;
content: '';
height: 2px;
margin: .5em;
background-color: red;
}
.wrapper {
display: flex;
flex-wrap: wrap;
}
.box {
flex-grow: 1;
width: 50%;
padding: 10px;
overflow: auto;
}
.wrapper {
display: grid;
grid-template-columns: repeat(2, 50%);
}
.box {
padding: 10px;
overflow: auto;
}
.item {
position: relative;
padding: 1rem;
}
.product-special {
position: absolute;
top: .5rem;
}
.product__image {
margin-top: -27px;
}
::before {
display: inline; /*строка*/
width: auto;
height: auto;
}
li:before {
display: inline-block;
width: 20px;
height: 20px;
margin-right: 5px;
vertical-align: middle;
}
<div class="container">
<div class="row">
<div class="col"></div>
<div class="col"></div>
</div>
<div class="row">
<div class="col"></div>
<div class="col">
<div class="row">
<div class="col"></div>
<div class="col"></div>
</div>
<div class="row">
<div class="col"></div>
<div class="col"></div>
</div>
</div>
</div>
</div>
form#eventsystem_authform::after {
content: '';
display: table;
clear: both;
<svg id="icon_id">
<rect class="style1" ... />
<rect class="style2" ... />
</svg>
#icon_id:hover .style1 { fill: red; }
#icon_id:hover .style2 { fill: green; }
.stacks_in_640_page0images {
...
align-items: flex-start;
...
}
.block {
position: relative;
overflow: hidden;
}
.block__hero {
position: absolute;
}
.block {
background-image: url(hero.jpg), url(bg.jpg);
}