Good evening, How to determine which file has a higher priority than your styles. Those. if you look at the console, then who disconnects my styles with background th
Thank.
Good evening, How to determine which file has a higher priority than your styles. Those. if you look at the console, then who disconnects my styles with background th
Thank.
Priority is built in order to connect css files. The latest connection is the highest priority. And what exactly interrupts - hover over the name of the file which is in the right part of each rule sss and see the full path to the file.
not only the sequence of connecting styles, but also the redefinition of the property. Ie you first wrote: background-repeat: no-repeat; background-position: center center; background-size: cover; background-color: # 333;
and then, above the cascade in the last connected file, they redefined all these properties as one - background: url ("../ images / 1.jpg");
Here is the article link to understand more clearly.
background property is a short record of all those properties that now appear crossed out in the inspector. if all you need to add is a picture, then use the background-image: url() property. - Sasha OmelchenkoSource: https://ru.stackoverflow.com/questions/625849/
All Articles
.category-1class. - Sasha Omelchenko