CSS Media Query

CSS

@media only screen and (min-width: 1440px) {

    /*** for Desktop devices ***/

}



@media only screen and (min-width: 1024px) and (max-width: 1439px) {

    /*** for Laptop devices ***/

}



@media only screen and (min-width: 768px) and (max-width: 1023px) {

    /*** for Tablet devices ***/

}



@media only screen and (max-width: 767px) {

    /*** for Mobile devices ***/

}