Skip to content

Instantly share code, notes, and snippets.

View jeremy0x's full-sized avatar
🎯

jeremy0x

🎯
View GitHub Profile
@jeremy0x
jeremy0x / swipe-animation.css
Created March 2, 2024 04:21
swipe-animation-css
.scroll-container {
scroll-snap-type: y mandatory;
}
.item {
scroll-snap-align: center;
}
@jeremy0x
jeremy0x / custom-scrollbar.css
Last active March 6, 2024 11:27
Custom Scrollbar Snippet
:root {
--scrollbar-bg-color: #f1f1f1;
--scrollbar-thumb-bg-color: #888;
--scrollbar-thumb-hover-color: #555;
--scrollbar-thumb-active-color: #000;
--scrollbar-border-radius: 10px;
}
*::-webkit-scrollbar {
width: 4px;
@jeremy0x
jeremy0x / meta-boilerplate.html
Last active March 21, 2023 13:49
A ready-to-use HTML meta-tags boilerplate to optimize your website's meta tags for search engines and social media platforms.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="{{THEME_COLOR}}" />
<meta name="robots" content="index, follow">
<!-- Primary Meta Tags -->