Skip to content

Instantly share code, notes, and snippets.

Avatar
👁️‍🗨️

Kevin Ullyott Orrison

👁️‍🗨️
View GitHub Profile
@Orrison
Orrison / autoplayingVideoBackground
Created Oct 8, 2018
Autoplaying video background for mobile and desktop
View autoplayingVideoBackground
<video class="video" muted="muted" loop="loop" autoplay="autoplay" playsinline>
<source src="video.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
@Orrison
Orrison / css-media-queries-cheat-sheet.css
Created Mar 13, 2018 — forked from bartholomej/css-media-queries-cheat-sheet.css
CSS Media Query Cheat Sheet (with Foundation)
View css-media-queries-cheat-sheet.css
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }