The article discusses challenges faced with centering an h2 header using CSS and implementing a hover effect on associated text. The author notes that despite the CSS declaration for centered text being present, it is not functioning correctly, possibly due to overriding styles. This leads to confusion over the application of the :hover effect on heading tags and its impact on design. The author is also exploring solutions to width issues of the linked text container, showcasing a willingness to learn and adapt.
I don't understand why the text-align: center; element is not working.
DevTools shows the element without a line through it which means that the code either has been superseded or is not executed.
Could the problem be that I'm not supposed to add :hover to a heading tag?
I might come back on the issue of the width of the linked text container.
Collection
[
|
...
]