Skip to content

Instantly share code, notes, and snippets.

View robhrt7's full-sized avatar

Robert Haritonov robhrt7

View GitHub Profile
@robhrt7
robhrt7 / dabblet.css
Created January 3, 2012 16:57
Rainbow glow
body {
background-image: url(http://www.bmwcarswallpapers.com/bulkupload//hd/2//BMW%20HD/BMW%20Pics%20Full%20HD.jpg);
background-size: 100%;
background-repeat: no-repeat;
}
.rainbow-shadow {
position: relative;
width: 200px;
height: 200px;
@robhrt7
robhrt7 / dabblet.css
Created January 13, 2012 15:59
Click zoom
/*Glamour*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
font-family: Arial;
}
@robhrt7
robhrt7 / dabblet.css
Created January 24, 2012 12:38
Construction
/* Construction */
span {
display: block;
position: relative;
width: 60px;
height: 60px;
background: red;
}
b {
@robhrt7
robhrt7 / dabblet.css
Created February 25, 2012 17:50
Untitled
.photoFrame {
display: inline-block;
padding: 2px;
background-color: #fff;
border: solid 1px #DDE8EA;
}
.photoFrame img {
display: block;
}
@robhrt7
robhrt7 / dabblet.css
Created April 16, 2012 16:36
Заголовок портлета
div {
width: 500px;
border: red 1px solid;
}
b {
display: block;
overflow: hidden;
}
@robhrt7
robhrt7 / dabblet.css
Created April 16, 2012 22:13
Пример абс и static для tohtml.it
.wrapper {
width: 100px;
margin-bottom: 10px;
position: relative;
}
.static {
/* position: static - блоки по умолчанию статичны */
overflow: hidden;
width: 77px;
@robhrt7
robhrt7 / dabblet.css
Created April 20, 2012 16:20
Варианты форм
div {
margin-bottom: 5px;
}
input {
width: 200px;
}
@robhrt7
robhrt7 / dabblet.css
Created April 26, 2012 15:19
Untitled
div {
width: 100px;
height: 100px;
background:red;
transition-delay: 2s;
}
div:hover {
background: blue;
transition: background .5s;}
.photoFrame {
overflow: hidden;
display: inline-block;
padding: 2px;
background-color: #fff;
border: solid 1px #DDE8EA;
}
.photoFrame img {
display: block;
div {
width: 100px;
height: 100px;
background:red;
transition-delay: 2s;
}
div:active {
background: blue;
transition: background .5s;