Search
 
SCRIPT & CODE EXAMPLE
 

CSS

adding a perfect responsive background image

body {
    background-image: url('/your-image-url.png');
    background-size: cover;
    height: 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;

}
Comment

PREVIOUS NEXT
Code Example
Css :: background css 
Css :: materialize css form file input 
Css :: device-pixel-ratio css 
Css :: how to make width equal to height css 
Css :: html style input number buttons 
Css :: css line-height 
Css :: text size to fit button 
Css :: how to make a link into normal text css 
Css :: css change class name start with 
Css :: animations 
Css :: display flex align last item to left 
Css :: set css on parent element css 
Css :: sass scale color 
Css :: background origin css 
Css :: tailwind css margin auto 
Css :: css flex justify self 
Css :: box shadow example 
Css :: how to color links 
Css :: nth-of-type(2):before 
Css :: animation clip path 
Css :: variable in scss 
Css :: textarea { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; } 
Css :: webkit appreance none select 
Css :: secltor for parent li css 
Css :: css play button on image 
Css :: font weight numbers 
Css :: flex order 
Css :: radius to imported icons 
Css :: two shadows css 
Css :: materialize css icons 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =