SEMrush

Tuesday, 4 October 2016

Media Rule CSS

@MEDIA RULE



@media rule is used to give different style  rules for different media devices.by using this you can make your website responsive on all media devices. eg. 


@media screen and (min-width : 480px ) and (max-width: 850) {
//describe styles here that you want to apply 
}


this will apply style rules only for screens which have width between 480 and 850 .you can set adjustments for each media device here.



                                               HAPPY   CODING

No comments:

Post a Comment