HOW TO USE CSS @MEDIA RULE

css @media rule is adjusting specific elements for the screensize of the device, you may knows this as the "mobile" function when adding codes in pro plus. this is very useful for pro standard users or those who make their websites from scratch.

  1. how to use it?
    1
    2
    3
    first make an embed and add the <style> </style> as this is a css code. 
    next insert the code below between the style tags.
    lastly, insert the element id and the css codes you would like to see on mobile.
    

@media only screen and (max-width: 600px) { element id { /*insert your codes here*/ } }

  1. how to see the output in mobile?
    aside from checking your mobile device and adjusting it on desktop, you may use responsinator.com as a guide for you to see your work, (on my end the screen size isn't accurate as i do check on my mobile device for more accuracy but the site is very helpful for you to see your output on mobile!)

go back to mist.drr.ac

Edit
Pub: 22 Jul 2022 13:01 UTC
Views: 195