html {
height: 100%
}
body {
background-image:url("../images/myImage.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
}
body {
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
html {
height: 100%;
}
body {
color: #999;
background: url('../images/background/main_bg.jpg') no-repeat center center fixed;
font-family: 'Roboto', sans-serif;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
body{
background: url(""); /* enter the image path */
background-repeat: no-repeat;
background-size: 100%;
}
Code Example |
---|
Css :: font condensed |
Css :: how to put image in button css |
Css :: row reverse grid |
Css :: dashed lin in css |
Css :: background image overlay |
Css :: css right |
Css :: font-strech css |
Css :: custom select tailwind css |
Css :: Add elipses to a dom element with css |
Css :: css background image with url |
Css :: css box shadow from all sides |
Css :: how to slide div from left to right using css |
Css :: special custom scrollbar in scss |
Css :: flexbox align last item right |
Css :: jest test try catch |
Css :: fixed div with scrollable content |
Css :: ng-deep |
Css :: png image background transparent css |
Css :: what port does wss use |
Css :: difference between :after and ::after |
Css :: creating drop shadow css |
Css :: css for background color |
Css :: center flex |
Css :: center things with css |
Css :: How to use css on a react icon |
Css :: css z index |
Css :: css a link style |
Css :: css media queries laptop |
Css :: react bootstrap carousel not working |
Css :: css bold weight |