CSS
- 5 ответов
- 0 вопросов
2
Вклад в тег
.owl-carousel .owl-stage {
position: relative;
-ms-touch-action: pan-Y;
-moz-backface-visibility: hidden;
display: flex;
}
.header__slider-item {
display: flex;
flex-direction: column;
height: 100%;
}
.header__slider-text {
font-family: Lato;
font-size: 1.4rem;
margin-bottom: 20px;
}
.header__slider-btn {
padding: 21px 33px;
color: #444444;
font-family: Montserrat;
font-size: 1.6rem;
text-transform: uppercase;
font-weight: 400;
border: 1px solid #444444;
margin: auto auto 0 0;
transition: 0.2s;
}
@font-face {
font-family: "ProximaNovaRegular";
src: url("../fonts/ProximaNova/ProximaNovaRegular.eot");
src: local('☺'),
url("../fonts/ProximaNova/ProximaNovaRegular.woff2") format("woff2"),
url("../fonts/ProximaNova/ProximaNovaRegular.woff") format("woff"),
url("../fonts/ProximaNova/ProximaNovaRegular.ttf") format("truetype"),
url("../fonts/ProximaNova/ProximaNovaRegular.svg") format("svg");
font-weight: normal;
font-style: normal;
}
.form-row {
max-height: 300px;
overflow: hidden;
transition-property: max-height;
transition-duration: .5s;
}
.is-hidden {
max-height: 0;
display: block !important;
}