Vote count:
0
I have a div class called form-groupBlogg
It is a form in which I want to adjust the width of it in both ordinary computer and mobile version. I have written the following CSS:
.form-groupBlogg{
width:74%;
margin-top:20px;
}
@media screen and (max-width: 768px) {
.form-groupBlogg {
width: 80%;
}
}
Only problem is that the @media screen and (max-width: 768px)-part wont adjust the width of the div class in the mobile version. The first part with the width: 74% works correctly. How can I adjust the width in the mobile version?
asked 39 secs ago
How to change width of object in mobile version
Aucun commentaire:
Enregistrer un commentaire