Skip to content

Instantly share code, notes, and snippets.

@Patil-143
Patil-143 / index.html
Created December 14, 2023 06:22
Simple hero video with a mask
<main>
<section class="hero hero--animated">
<div class="hero__content">
<h1 class="hero__title">
<span class="hero__title-text hero__title-text--top">
cookie
</span>
<span class="hero__title-text hero__title-text--bottom">
dough
</span>
@Patil-143
Patil-143 / script.vue
Created December 14, 2023 06:21
Solar System Scale Model
<template>
<div id="app">
<!-- MAIN CONTENT -->
<div class="sun" :style="sunStyle()"></div>
<div
class="planet_container"
:class="`planet_container-${mode}`"
v-for="(p, i) in planetsFiltered"
:style="planetContainerStyle(i)"
@click="onClickPlanetContainer(i)"
@Patil-143
Patil-143 / index.html
Created December 14, 2023 06:18
Simple rotating pagination
<div class="holder">
<div class="spinner">
<div class="panel a"></div>
<div class="panel b"></div>
<div class="panel c"></div>
<div class="panel d"></div>
<div class="panel e"></div>
<div class="panel f"></div>
<div class="panel g"></div>
<div class="panel h"></div>
@Patil-143
Patil-143 / css-pagination-styles.markdown
Created December 14, 2023 06:17
CSS Pagination Styles
@Patil-143
Patil-143 / index.html
Created December 14, 2023 06:16
SVG Circle Clock
<svg viewBox="0 0 100 100">
<g transform="scale(-1 1) rotate(-90 0 100)">
<g fill="none" stroke="rgba(0,0,0,0.1)">
<circle cx="50" cy="50" r="46" stroke-width="8" />
<circle cx="50" cy="50" r="46" stroke-width="6" />
<circle cx="50" cy="50" r="38" stroke-width="7" />
<circle cx="50" cy="50" r="38" stroke-width="5" />
<circle cx="50" cy="50" r="30" stroke-width="6" />
<circle cx="50" cy="50" r="30" stroke-width="4" />
<circle cx="50" cy="50" r="22" stroke-width="5" />
@Patil-143
Patil-143 / index.pug
Created December 14, 2023 06:15
Rotating Möbius Loop - SCSS
- for (i = 0; i < 400; i++)
.cam
.content
.zoom
- for (var l=0; l<18; l++)
.line
.cuboid
- for (var s=0; s<6; s++)
.side
@Patil-143
Patil-143 / index.html
Created December 14, 2023 06:14
Marquee-like Content Scrolling
<div class="marquee">
<ul class="marquee-content">
<li><i class="fab fa-github"></i></li>
<li><i class="fab fa-codepen"></i></li>
<li><i class="fab fa-free-code-camp"></i></li>
<li><i class="fab fa-dev"></i></li>
<li><i class="fab fa-react"></i></li>
<li><i class="fab fa-vuejs"></i></li>
<li><i class="fab fa-angular"></i></li>
<li><i class="fab fa-node"></i></li>
@Patil-143
Patil-143 / custom-keyboard-landing-page-with-spline-3d-and-gsap-scroll-animations.markdown
Created December 14, 2023 06:14
Custom Keyboard Landing Page with Spline 3D and GSAP Scroll Animations
@Patil-143
Patil-143 / index.html
Created December 14, 2023 06:13
Soft and Sharp Button
<div class="button">
<div class="hoverzone"></div>
<div class="sharpshadow"></div>
<div class="label soft">Soft</div>
<div class="label sharp">Sharp</div>
</div>
@Patil-143
Patil-143 / drive-home-css.markdown
Created December 14, 2023 06:12
Drive Home (CSS)