Font size all devices

/*****For text******/
selector p {
    font-size: 22px !important;
}


/*****For titles******/

selector h1 {
    font-size: 40px !important;
}

/*TABLET*/
@media only screen and (max-width: 1024px) {
    selector h1 {
    font-size: 32px !important;
    }
}

/*MOBILE*/
@media only screen and (max-width: 768px) {
    selector h1 {
    font-size: 28px !important;
    }
}

Categories: