Skip to content

Commit 7170e0c

Browse files
committed
Update consolidated snippets
1 parent 5305b4b commit 7170e0c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

public/consolidated/css.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,18 @@
218218
],
219219
"contributors": [],
220220
"code": "body {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n}\n\nfooter {\n margin-top: auto;\n}\n"
221+
},
222+
{
223+
"title": "Sticky Navbar",
224+
"description": "Ensure the navbar always shows and remains at the top of the page on scroll.",
225+
"author": "Haider Mukhtar",
226+
"tags": [
227+
"layout",
228+
"navbar",
229+
"sticky"
230+
],
231+
"contributors": [],
232+
"code": ".navbar{\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n}\n"
221233
}
222234
]
223235
},

0 commit comments

Comments
 (0)