@
@
@pylliok2016-09-16 16:30:23
css
@pylliok, 2016-09-16 16:30:23

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

2 answer(s)
B
Boris Yakushev, 2016-09-16
_

You have reset.css connected after style.css
Naturally it will overlap.

D
Denis Ineshin, 2016-09-16
@IonDen

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 question

Ask a Question

731 491 924 answers to any question