A really cool modern sticky navigation with a glass effect and a menu button. Only Vanilla JS and (S)CSS.
A Pen by Benjamin Koehler on CodePen.
| <body> | |
| <div class="content-wrap"> | |
| <header> | |
| <h1 class="fluid">let's<br />scroll.</h1> | |
| <h2 class="fluid">Origionally from | |
| <a href="https://codepen.io/jh3y/pen/VYZwOwd" target="_blank">Jhey →</a>, converted to Motion | |
| </h2> | |
| </header> | |
| <main> | |
| <section> |
| <div id="app"> | |
| <canvas id="canvas"></canvas> | |
| <div class="hero"> | |
| <h1>Tubes</h1> | |
| <h2>Cursor</h2> | |
| <a target="_blank" href="https://www.framer.com/@kevin-levron/">Framer Component</a> | |
| </div> | |
| </div> |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
| <div class="resume-wrapper"> | |
| <section class="profile section-padding"> | |
| <div class="container"> | |
| <div class="picture-resume-wrapper"> | |
| <div class="picture-resume"> | |
| <span><img src="https://s3.amazonaws.com/uifaces/faces/twitter/jsa/128.jpg" alt="" /></span> | |
| <svg version="1.1" viewBox="0 0 350 350"> | |
| <defs> |
Simple test of the Bodymovin extension for After Effects. Created in Illustrator and animated in AE, converting to SVG animation was stupid easy.
https://github.com/bodymovin/bodymovin
A Pen by Mohamed Moughamir on CodePen.
| "use strict"; | |
| /** | |
| * Service Worker of MoNetWork | |
| */ | |
| const cacheName = "m.monetwork.ma"; | |
| const startPage = "https://m.monetwork.ma"; | |
| const offlinePage = "https://m.monetwork.ma"; | |
| const filesToCache = [startPage, offlinePage]; |
| ########## | |
| # Tweaked Win10 Initial Setup Script | |
| # Primary Author: Disassembler <disassembler@dasm.cz> | |
| # Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences. | |
| # Version: 2.20.2, 2018-09-14 | |
| # Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
| # Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
| # Tweak difference: | |
| # | |
| # @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ... |
| #!/usr/bin/env ruby | |
| require 'image_optim' | |
| staged_files = `git diff --cached --name-only --diff-filter=ACM`.split("\n") | |
| staged_files.select! { |f| f =~ %r{/images/} } | |
| if staged_files.any? | |
| image_optim = ImageOptim.new(pngout: false) |