/* The first method using an image on your server */
background: url('img/someimage.jpg');
/* The second method using an image hosted on another server */
background: url('http://www.someimage.com/someimage.jpg');
/* A third method that allows the site to determine protocol instead of explicitly defining it */
background: url('//www.someimage.com/someimage.jpg');
body {
background: radial-gradient(circle, black, white);
}
Code Example |
---|
Css :: how to stretch picture with website css |
Css :: tabla responsive css |
Css :: make a circle in css |
Css :: center a button wordpress |
Css :: how to horizontal center a div in css |
Css :: css transform |
Css :: css margin left |
Css :: css disabled cursor not allowed |
Css :: expo vector icons install |
Css :: install code command on mac |
Css :: css filter color |
Css :: black gradient background effect |
Css :: Media Query smartphone only |
Css :: add blur background css |
Css :: css align bottom of container |
Css :: color code green |
Css :: select even child css |
Css :: space between text css |
Css :: angular headers for enc type |
Css :: css align center |
Css :: css center table on page |
Css :: background image |
Css :: css selector not empty input |
Css :: css image size scale to fit |
Css :: beautiful navigation bar css |
Css :: make something slowly invisible css |
Css :: background shorthand |
Css :: center absolute element |
Css :: selenium find element by css selector |
Css :: rotate box-shadow |