Answer the question
In order to leave comments, you need to log in
Styles overlap with reset.css why?
I created the main page and uploaded it to the hosting. Everything is displayed correctly as intended.
After adding the main page to the Yii2 framework, the styles began to display incorrectly, namely, some properties began to overlap with the reset.css file.
Naturally, !important helps, but I would like to know the reason for this overlap.
Everything is displayed correctly without the framework: pyiio3k.bget.ru
And using Yii2: yii2.pyiio3k.bget.ru
Answer the question
In order to leave comments, you need to log in
You have reset.css connected after style.css
Naturally it will overlap.
As usual, I recommend abandoning reset.css. This is too radical and terrible solution.
The correct choice is Normalize.css , which just makes everything the same.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question