If I have a non-scrolling header in an HTML page, fixed to the top, having a defined height:
Is there a way to use the URL anchor (the #fragment part) t
#fragment
I think this approach is more useful:
Bar
[id]:target { display: block; position: relative; top: -120px; visibility: hidden; } [id]:target::before { content: attr(title); top: 120px; position: relative; visibility: visible; }