css - Add background color to extra small devices navigation -


I'm developing a bootstrap responsive theme here: URL to add a background which only works on small devices Does, any class is connected to my problem which is waiting for a good solution. thank you in advanced.

The solution is to use a CSS. A block of CSS from a media query is applied only when certain criteria (like screen size) are found. According to the Mozilla Developer's Network, the definition of media queries is given here:

A Media query contains at least one type of media expression and style sheets Fields using media attributes, such as width, height, and color. Media queries, which have been added to CSS3, should make content presentation consistent with output devices of a particular category, without changing the content

For red examples, you can use the following code snippet if you only want a handheld device:

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -