I connect to page 2 of the css-file in which classes with the same names are registered. Is it possible to somehow indicate that the page is styled with styles from a specific file? How do browsers handle the situation when in several files the same class is registered, whose design is taken?
|
1 answer
Take the design of the second class, taking into account the first. That is, the first description is applied first, then the overlapping class positions are overwritten by the second.
If it costs! Impotant, no wipe occurs. If there are two importers, they are processed as written above.
To make the page styled with a specific file, you can use the directive
@media
If you need to change arbitrarily, it is better to do this simply by disabling unnecessary files with a javascript.
|