Thread Starter
azimov
(@azimov)
i used this in css (but i have a fullscreen rows on my page, so this code for 100vh (viewport height) only):
.class (or #id) {
height: 100vh;
padding-top: 40vh !important;
text-align: center;
}
if you want to have an adaptive size of image, so you can use this:
.class (or #id) img {
height: 20vh !important; (but use your own height, if you want)
}
Thread Starter
azimov
(@azimov)
It’s all okay now! I forgot to use !important in css file))