Using CSS in phone the text of the elements who use the .selector class will be red while in laptops it will be shown green.
And that works for: .phone, .phablet, .tablet, .laptop, .desktop. All of those classes are added to the HTML so you can hook those CSS selectors to do your custom coding.
In your case you need special rules to enable/disable margin, set 100% width, etc.