и при нажатии кнопки вход модальное окно не скроллится при этом на body повешан overflow-hidden
Usage notes
The element should only be used for typographical reasons—that is, to change the position of the text to comply with typographical conventions or standards, rather than solely for presentation or appearance purposes.
For example, to style the wordmark of a business or product which uses a raised baseline should be done using CSS (most likely vertical-align) rather than . This would be done using, for example, vertical-align: super or, to shift the baseline up 50%, vertical-align: 50%.
Но я же не буду учить всю математику только ради этого.
Записав Флекс ему же, ничего не будет. Это так не работает. Либо сделайте блок, посадите в него текст и центрируйте,либо напишите ему text-align: center.
- position fixed (sticky)
- гриды, флексы и их order
- display: contents
- display: none