Skip to content

Instantly share code, notes, and snippets.

View VitalyErmilov's full-sized avatar

VitalyErmilov

View GitHub Profile
@VitalyErmilov
VitalyErmilov / index.html
Created May 13, 2025 17:42
Toast Notification Playground 🍞🔔
<div class="playground">
<div class="header-image">
<img src="http://mattcannon.games/codepen/toast/tt.png" alt="Toast Notification Playground">
</div>
<div class="section">
<h3><i class="fa-solid fa-palette"></i> Theme</h3>
<div class="grid" id="theme-buttons">
<button data-theme="arcade" class="modern-btn"><i class="fa-solid fa-gamepad"></i> Arcade</button>
<button data-theme="professional" class="modern-btn"><i class="fa-solid fa-briefcase"></i> Professional</button>

claw machine

I'm terrible at controlling actual claw machines, so I coded my own. You can move the claw by holding down the button, and stop by releasing. The main challenge was to chain the animation required to move the claw and the arm. To simulate gravity, the toy tilts based on which part of the toy the claw grabs. The facial expression on the toys and the claw is also animated for fun.

A Pen by Masahito Leo Takeuchi on CodePen.

License.

@VitalyErmilov
VitalyErmilov / airpods-landing-page-example.markdown
Created February 1, 2025 01:11
Airpods Landing Page Example
@VitalyErmilov
VitalyErmilov / index.html
Created June 21, 2023 15:41
Memory card game April
<html lang="en">
<head>
<meta charset="utf-8">
<title>Matching Game</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet prefetch" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
<link rel="stylesheet prefetch" href="https://fonts.googleapis.com/css?family=Coda">
<link rel="stylesheet" href="css/app.css">
@VitalyErmilov
VitalyErmilov / index.html
Created March 10, 2023 21:53
Testimonial Slider Pure CSS
<div class="slider">
<input type="radio" name="slider" title="slide1" checked="checked" class="slider__nav"/>
<input type="radio" name="slider" title="slide2" class="slider__nav"/>
<input type="radio" name="slider" title="slide3" class="slider__nav"/>
<input type="radio" name="slider" title="slide4" class="slider__nav"/>
<div class="slider__inner">
<div class="slider__contents"><i class="slider__image fa fa-codepen"></i>
<h2 class="slider__caption">codepen</h2>
<p class="slider__txt">Lorem ipsum dolor sit amet, consectetur adipisicing elit. At cupiditate omnis possimus illo quos, corporis minima!</p>
@VitalyErmilov
VitalyErmilov / index.html
Created January 19, 2023 22:50
jQuery Scroll-based Animations
<header>
<div class="navbar" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" id="logo" href="#">jQuery Animations</a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#mynav">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>