DEV Community

Discussion on: Learn responsive web design in 5 minutes

Collapse
 
st411ar profile image
Vitaly Kiselev

Thanks a lot, great and very interesting article! I met its russian translation with the link to this original page, read your original article and signed up here at dev.to for posting my first coment :)

Are there a couple of a small typos?

Using media queries to improve the mobile experience

@media (max-width: 768px) {
    .myImage {
        width: 100%
    }
}

Should class name be myImg instead of myImage?

Responsive typography: rem

@media (max-width: 768px) {
    html {
        font-size: 14px
    }
}

Font-size already has been defined by 14 pixels for the whole document therefore should it be better to set font-size in the last listing, for example, by 10px for demonstrating purposes?