WordPress: HTML & CSS & JavaScript
On this page, I will share helpful tips about WordPress, HTML, CSS, and javascript. Follow me on Twitter for more tips. CSS Tips Sticky header and anchor links Use the “scroll-margin-top” property to prevent a sticky header to cover up content after clicking on an anchor. :target { scroll-margin-top: 1.5rem; } Smooth Scrolling Smooth scrolling …