Skip to content

Instantly share code, notes, and snippets.

View LibertysYarn's full-sized avatar

Liberty LibertysYarn

View GitHub Profile
@LibertysYarn
LibertysYarn / slider.css
Created May 27, 2013 03:55
Accordion Slider
/*Now the styles*/
* {
margin: 0;
padding: 0;
}
body {
background: #ccc;
font-family: arial, verdana, tahoma;
}
@LibertysYarn
LibertysYarn / lens.css
Created May 27, 2013 03:59
Lens effect - from Codrops
.circle {
background: rgb(255,255,255);
border-radius: 100%;
cursor: pointer;
position: relative;
margin: 0 auto;
width: 15em;
height: 15em;
overflow: hidden;
transform: translateZ(0);
/*Lets load up a Google Font*/
@import url(http://fonts.googleapis.com/css?family=Ubuntu);
/*Basic Reset*/
* {margin: 0; padding: 0;}
/*Some fancy BG*/
body {
background: url('http://thecodeplayer.com/uploads/media/bluebg.jpg') center center fixed;
background-size: cover;
@LibertysYarn
LibertysYarn / ribbon.css
Created May 27, 2013 04:04
Single Element Ribbon
/*Basic reset*/
* {margin: 0; padding: 0;}
html, body {height: 100%;}
body {
background: #B1E3E2;
box-shadow: inset 0 0 100px 20px #80D0CF;
text-align: center;
}
#viewport {
position: relative;
width: 800px;
height: 600px;
overflow: hidden;
background:url('images/milk_tea.jpg') 0 0 no-repeat
}
#viewport .smoke {
position: absolute;
width: 250px;
//** ribbon menu **//
.ribbon:after, .ribbon:before {
margin-top:0.5em;
content: "";
float:left;
border:1.5em solid #383838 ;
}
.ribbon:after {
border-right-color:transparent;
@LibertysYarn
LibertysYarn / round-hover.css
Created May 28, 2013 16:31
Round Image Hover effect
.thumb-wrapper {
width: 269px;
max-width: 100%;
height: 250px;
position: relative;
left: -1px;
display: block;
overflow: hidden;
text-align: center;
@LibertysYarn
LibertysYarn / round-featured.css
Created May 28, 2013 16:32
Round Featured Image - WP
@LibertysYarn
LibertysYarn / circle.css
Created May 28, 2013 19:52
Circle Animation - from Codrops
.ch-grid {
margin: 20px 0 0 0;
padding: 0;
list-style: none;
display: block;
text-align: center;
width: 100%;
}
.ch-grid:after,
@LibertysYarn
LibertysYarn / discs.css
Created May 28, 2013 22:16
Spinning Discs - Codrops
.ch-grid {
margin: 20px 0 0 0;
padding: 0;
list-style: none;
display: block;
text-align: center;
width: 100%;
}
.ch-grid:after,