What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-01-22 19:16:28
Display HTML snippets in HTML
<pre class="line-numbers"> <code class="language-css"> p { color: red } </code> </pre> /* The following language classes are supported: language-markup – Use for HTML, XML, etc… language-c... Add solution -
CSS 2022-01-22 17:45:44
How to prevent anchor links from scrolling behind a sticky header with one line of CSS
// src/scss/navigation.scss $sticky-breakpoint: 32em; // 1. Approximate height of sticky navigation. [id] { @media (min-height: $sticky-breakpoint) { scroll-margin-top: 100px; // 1 } } .navigation { // ... @media (min-height: $sticky-break... Add solution