.container {
width: calc(100% - 32px); // отступ по 16px в случае если страница <= 1024px
max-width: 1024px; // размер для примера
margin: 0 auto;
}
.container {
width: 100%;
max-width: 1056px;
margin: 0 auto;
padding: 0 16px;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: url(roboto100Url);
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 200;
src: url(roboto200Url);
}
/* ... */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 900;
src: url(roboto900Url);
}
Так же динамический фон с постоянно меняющимся фоном и изображением.
Что тут используется для прелоадера
<div class="progressbar" style="z-index: 2; opacity: 1;">
<span id="progressbar" style=""></span>
</div>
и как они сделали такой фон? Наложили цветное изображение на фон?
<div class="projects__images js-projects--images" style="opacity: 1;">
<div class="projects__image desaturate js-projects--image" style="z-index: 2; opacity: 0; background-image: url("http://www.poigneedemainvirile.com/wp-content/themes/p2mv/img/projects/180g/header.jpg");"></div>
<div class="projects__image desaturate js-projects--image current" style="z-index: 1; background-image: url("http://www.poigneedemainvirile.com/wp-content/themes/p2mv/img/projects/xme-company/header.jpg"); opacity: 1;"></div>
</div>
&:before {
content: " ";
position: absolute;
top: -6px;
left: 24px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid white;
z-index: 1;
}
&:after {
content: " ";
position: absolute;
top: -7px;
left: 24px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid rgba(0, 0, 0, 0.25);
}
На сколько вырастет пятый блок при заданных ему значениях