Answer the question
In order to leave comments, you need to log in
Img doesn't listen to @media request?
Hey guys
need help with a media query.
www.efs-lisbon.com Portuguese startup.
When adjusted for mobile devices, the first image will not stretch 100% in any way.
W100% doesn't work. Help me find the reason for the unlucky under-developmenter :)))
I connected media.css correctly already checked
-------HTML code-------
Descubra a melhor maneira de abastecer!
Entrega de combustivel movel
Saiba
mais!
------------CSS code-----------
.text__section-one {
margin-top: 20px;
float: left;
z-index: 1;
position: absolute;
margin-left: 70px;
}
.text_section-one h2{
margin: 0px
padding: 0px
font-size: 30px;
font-weight: 100
letter-spacing: 5px
}
.text_section-one h1{
margin: 0px;
padding: 0px
font-size: 50px;
font-weight: 900
letter-spacing: 5px
}
.button {
margin-top: 35px;
background-color: #ff5722;
padding: 10px
width: 30%
border-radius: 15px;
text-align: center;
align-items: flex-end;
box-shadow: 0 0 5px 10px #ff5722;
}
.button a{
color: #f5f5f6;
font-size: 20px;
}
.img__section-one {
width: 80%;
position: relative;
float:right;
margin-right: 15px;
}
.img__section-one img{
width: 100%;
position: relative;
margin-top: 70px;
z-index: -1;
float:right;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question