/* Phones ----------- */
@media only screen and (max-width : 767px) {
p {
font-size: 18px;
}
}
/* Tablets ----------- */
@media only screen and (min-width : 768px) {
p {
font-size: 16px;
}
}
if320 px—Mobile portrait
480 px—Mobile landscape
600 px—Small tablet
768 px—Tablet portrait
1024 px—Tablet landscape & Laptop
1280 px and up—Desktop
<meta name="viewport" content="width=device-width, initial-scale=1">Use media queries to create a stacked navigation at a specified breakpoint