.Anchor:before {
display: block;
content: "";
height: 175px; //height of the header
margin: -175px 0 0; //height of the header
}
/* In case of problem with background, set all the style to a div inside the anchor one
Fix to the problem of hidden top content when scroll to anchor and fixed header
CSS fix
Solution found here => https://openclassrooms.com/forum/sujet/ancre-et-header-fixe
CSS fix
Solution found here => https://openclassrooms.com/forum/sujet/ancre-et-header-fixe
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.