Skip to content

Instantly share code, notes, and snippets.

View ATKrsh's full-sized avatar

ATK ATKrsh

  • 01:58 (UTC +05:30)
View GitHub Profile
@ATKrsh
ATKrsh / index.html
Created January 7, 2019 05:35
rwd mobile animation
<div class="wrapper">
<div class="phone-wrap laptop">
<div class=phone-back></div>
<div class="phone-body"></div>
<div class="phone-speaker"></div>
<div class="phone-charger"></div>
<div class="phone-buttons-left">
<div class="button-google"></div>
<div class="volume-up"></div>
<div class="volume-down"></div>
@ATKrsh
ATKrsh / full-screen-video.markdown
Created December 25, 2018 11:27
Full Screen Video
@ATKrsh
ATKrsh / html-5-video.markdown
Created December 25, 2018 10:32
HTML 5 Video

HTML 5 Video

You can "use your own" player for Vimeo videos, and embed them as HTML5 - much easier than trying to self-host.

A Pen by Colin on CodePen.

License.

@ATKrsh
ATKrsh / index.html
Last active February 15, 2022 17:22
Laptop opening animation (SVG + GSAP)
<div class="container">
<div class="laptop">
<svg viewBox="0 0 480 268" version="1.1" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g class="laptop-bottom">
<path transform="translate(0, 250)" d="M450,18 L31,18 C21,18 34e-13,14 0,12 L 480,12 C480,14 460,18 450,18 Z"></path>
<rect x="0" y="250" width="480" height="12"></rect>
</g>
<path class="laptop-lid" d="M 70,240 l 341.6 0 l 52.17 0 l -434.7 0 l 52 0 z M 426,250 l -368.4 0 l -56.4 0 c 0 -8.46 8 -8.46 18.05 -8.46 l 443.6 0 c 19.7 0 18 8 18 8.5 l -56 0 z"></path>
<rect class="screen-bg" x="70" y="24" width="342" height="216"></rect>
<g class="grid">
@ATKrsh
ATKrsh / css-laptop.markdown
Created November 21, 2018 10:15
CSS Laptop
@ATKrsh
ATKrsh / css-only-3d-macbook-air.markdown
Created November 17, 2018 07:29
CSS only 3d Macbook Air
@ATKrsh
ATKrsh / css-3d-hartwig-chess-set-fully-playable.markdown
Created November 17, 2018 06:16
CSS 3D Hartwig chess set (fully playable)
@ATKrsh
ATKrsh / css-3d-mobile-website-previewer.markdown
Created November 17, 2018 05:40
CSS 3D mobile website previewer
@ATKrsh
ATKrsh / index.html
Created November 16, 2018 05:53
Textured OBJ Model with Three.js
<!--
Developed by Jon Gunnison
http://jgunnison.com
Model created by Fongoose.
https://sketchfab.com/fongoose
-->
@ATKrsh
ATKrsh / 15-load-obj-file.markdown
Last active November 16, 2018 05:28
15. Load .obj file
  1. Load .obj file

How to load an external obj file and add it into the scene.
This demo is using the plugin "OBJLoader". Don't forget to include it into your page ;)

A Pen by Louis Hoebregts on CodePen.

License.