Skip to content

Instantly share code, notes, and snippets.

View doc22940's full-sized avatar

Acampbell doc22940

View GitHub Profile
@doc22940
doc22940 / flexbox-responsive-grid-playground.markdown
Created December 14, 2020 16:23
Flexbox Responsive Grid Playground

Flexbox Responsive Grid Playground

I'm playing with flexbox to build a future proof fluid and responsive grid system.

Flexbox is AWESOME on this task because it do every single thing a grid user need:

  • fluid columns with fluid gutters;
  • fluid columns with fixed gutters;
  • fixed columns with fluid gutters;
  • fixed columns and fluid columns on the same row;
  • nested grids with or without side gutters;
@doc22940
doc22940 / index.pug
Created December 14, 2020 11:54
Raw WebGL
canvas#webgl
@doc22940
doc22940 / all-the-border-radius.markdown
Created December 14, 2020 00:49
All the border-radius'
@doc22940
doc22940 / css-leaning-card-effect.markdown
Created December 14, 2020 00:24
CSS leaning card effect

CSS leaning card effect

A couple of containing divs style a row of images as leaning cards.

A Pen by Acampbell on CodePen.

License.

@doc22940
doc22940 / index.html
Created December 14, 2020 00:23
Single div CSS Tesla Cybertruck
<div id="cybertruck"></div>
@doc22940
doc22940 / css-gradient-art-decortions.markdown
Created December 14, 2020 00:22
CSS gradient-art decortions
@doc22940
doc22940 / index.html
Created December 13, 2020 21:07
SVG Lava Lamp
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 600 600" >
<defs>
<filter id="goo" color-interpolation-filters="sRGB">
<feGaussianBlur in="SourceGraphic" stdDeviation="8" result="blur" />
<feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 21 -9" result="cm" />
<feBlend/>
</filter>
@doc22940
doc22940 / index.html
Created December 11, 2020 11:57
Zebra Page- web animation from a Procreate drawing
<div class="container">
<nav>
<p>
<input type="checkbox" name="motiona11y" id="motiona11y" />
<label for="motiona11y">If you have a vestibular disorder, check this to turn off some effects</label>
</p>
</nav>
<div class="initial">
<div id="zebra-ill" role="presentation">
@doc22940
doc22940 / holidays-are-coming-3d-css-truck.markdown
Created December 11, 2020 11:19
Holidays Are Coming! 3D CSS Truck 🎅🎄
@doc22940
doc22940 / 3d-css-letter-transition.markdown
Created November 29, 2020 14:17
3D CSS Letter Transition