Basic CSS Media Query 101

Publié le: 07 février 2021
sur la chaîne: Russell Prior
44
0

Media queries allow you to test or check the width of a device viewport. This simple check is at the root of serving up the content or presentation you want to display based on the device in use.

Users access content with many different devices. These devices have different viewport aspect ratios (width and height) and different pixel densities. A developer must also take into account if the user is holding the device in portrait or landscape view.

Lets begin by looking a basic media query start point. You can use this approach to begin most responsive sites. Responsive, meaning the content adjusts based on the devices viewport. Are there other approaches than this? Yes, many; do what works for you.


Sur cette page du site, vous pouvez voir la vidéo en ligne Basic CSS Media Query 101 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Russell Prior 07 février 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 44 fois et il a aimé 0 téléspectateurs. Bon visionnage!