Skip to content

Instantly share code, notes, and snippets.

@perezdans
Created November 17, 2020 07:57
Show Gist options
  • Save perezdans/e24b86648e218720665d8a43c1b468f7 to your computer and use it in GitHub Desktop.
Save perezdans/e24b86648e218720665d8a43c1b468f7 to your computer and use it in GitHub Desktop.
Ajustar cabecera fija en anclas html
:target::before {
content: "";
display: block;
height: 90px; /* aquí la altura de la cabecera fija*/
margin: -90px 0 0; /* altura negativa de la cabecera fija */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment