Skip to content

Instantly share code, notes, and snippets.

View owngeek's full-sized avatar

owngeek owngeek

View GitHub Profile
@owngeek
owngeek / html5_video.html
Last active September 7, 2016 11:38
html5_video.html
<!DOCTYPE html>
<html>
<body>
<video width="400" controls>
<source src="mov_bbb.mp4" type="video/mp4">
<source src="mov_bbb.ogg" type="video/ogg">
</video>
<!--html_youtube_videos-->
<iframe width="420" height="345" src="https://www.youtube.com/embed/TsV4Cg-4KsE?autoplay=1">
@owngeek
owngeek / masonry_css
Created September 7, 2016 13:23
masonry_layout
<style>
* {
box-sizing: border-box;
}
.container {
background: #EEE;
width: 50%;
margin-bottom: 20px;
}
@owngeek
owngeek / jquery_animation.css
Last active September 7, 2016 14:10
Jquery Animation
<style>
.btn{width:100px; height:50px; background-color:#309; color:#fff; margin-bottom:20px;}
.div1{background:#FF0000;height:50px;width:50px;position:absolute;}
.div2{background:#CC0066;height:50px;width:50px;position:absolute; top:20%;}
.div3{background:#0066FF;height:50px;width:50px;position:absolute; top:30%;}
</style>
@owngeek
owngeek / pure_css_tab.css
Created September 7, 2016 14:24
Pure css tab
<style>
* {
margin: 0;
padding: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
@owngeek
owngeek / MixItUp.css
Created September 7, 2016 15:42
MixItUp
<style>
.vv{ width:500px; background-color:#9C6; overflow:hidden;}
.mix{ width:100px; height:100px; background-color:#C30; float:left; margin:10px;}
.mix{
display: none;
}
</style>
@owngeek
owngeek / Checkbox_Styling.css
Created September 20, 2016 07:29
Checkbox Styling
<style>
body {
background: #d2d9ca;
}
h1 {
color: #eee;
font: 30px Arial, sans-serif;
-webkit-font-smoothing: antialiased;
text-shadow: 0px 1px black;
@owngeek
owngeek / placeholder_styling.css
Last active September 20, 2016 09:04
Placeholder Styling
<style>
body{background: #087585;}
.plcehldr input {width: 200px;border: none;background: #f8f8f8;height: 33px; color: blue;position: absolute;top: 0;left: 0;margin: auto;right: 0; bottom: 0;
border-radius: 2px; padding-left: 6px; }
.plcehldr img{width: 18px;position: absolute; right: 0;top: 8px; cursor:pointer;}
.plcehldr input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: #087585 ;
@owngeek
owngeek / jquery _loader.css
Created September 20, 2016 09:30
Jquery Loader
<style>
.no-js #loader { display: none; }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
@owngeek
owngeek / radio_button.css
Last active September 20, 2016 09:54
Radio button
<style>
body, html{
height: 100%;
background: #000;
font-family: 'Lato', sans-serif;
}
.container{
display: block;
position: absolute;
@owngeek
owngeek / Progress_Bar.css
Created September 20, 2016 10:42
Simple Progress Bar CSS/jQuery Plugin
<style>
@-webkit-keyframes grow-width {
from {
width: 0;
}
}
@keyframes grow-width {
from {
width: 0;