Responsive Web

https://www.w3schools.com/css/tryit.asp?filename=trycss_default


<!DOCTYPE html>

<html>

<head>

<style>

body {

  background-color: lightblue;

}

 @media (max-width: 380px) and (min-width: 350px){

    body {

  background-color: yellow;

}

 }

</style>

</head>

<body>


</body>

</html>


=============================================


 @media (min-width: 800px) {

    .rm-modal1 {

        width:25%;

        margin-top:10%;

    }

}


@media (max-width: 800px) {

    .rm-modal1 {

        width: 60%;

        margin-top: 10%;

    }

}


Responsive Web Responsive Web Reviewed by Leo on 01:22 Rating: 5

No comments