Professional Documents
Culture Documents
Design Css Codes
Design Css Codes
{
background: lightblue url("img_tree.gif") no-repeat fixed center;
}
body {
background-image: url("img_tree.gif");
background-repeat: no-repeat;
background-attachment: fixed;
}
div {
background-repeat: no-repeat, repeat;
background-image: url("img_tree.gif"), url("paper.gif");
background-blend-mode: lighten;
}
div {
border: 10px dotted black;
padding: 15px;
background: lightblue;
background-clip: padding-box;
}
body {background-color: coral;}
body {
background-image: url("paper.gif");
background-color: #cccccc;
}
#example1 {
border: 10px dashed black;
padding: 25px;
background: url(paper.gif);
background-repeat: no-repeat;
background-origin: content-box;
}
body {
background-image: url('w3css.gif');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
}
div {
background-image: url('w3css.gif');
background-repeat: no-repeat;
background-position-x: center;
}
div {
background-image: url('w3css.gif');
background-repeat: no-repeat;
background-position-y: center;
}
body {
background-image: url("paper.gif");
background-repeat: repeat-y;
}
h1 {
border: 5px solid red;
}
h2 {
border: 4px dotted blue;
}
div {
border: double;
}
h1 {
border-bottom: 5px solid red;
}
h2 {
border-bottom: 4px dotted blue;
}
div {
border-bottom: double;
}
div {border-bottom-color: coral;}
img {
float: right;
}