Search
 
SCRIPT & CODE EXAMPLE
 

CSS

background image with gradient css

.background_img {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url(../Image/bg.jpg);
    /* background-image: url(../Image/bg.jpg); */
    width: 100%;
    height: auto;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}
Comment

background with image and gradient

body {
  background: #eb01a5;
  background-image: url("IMAGE_URL"); /* fallback */
  background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531); /* W3C */
}
Comment

linear gradient css background image

background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
Comment

linear gradient and url css

body {
  background: url('http://www.skrenta.com/images/stackoverflow.jpg') no-repeat, -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 1)));
}
 Run code snippet
Comment

background Image linear gradient

background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(https://images.pexels.com/photos/768473/pexels-photo-768473.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500);
Comment

background-image linear-gradient url

  body {
    background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), linear-gradient(red, yellow);
    background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -webkit-gradient(linear, left top, left bottom, from(red), to(yellow));
    background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -moz-linear-gradient(top, red, yellow);
  }
Comment

PREVIOUS NEXT
Code Example
Css :: parent hover and child hover at the same time 
Css :: css text-decoration 
Css :: css how to make text italic 
Css :: css clear 
Css :: border-style css 
Css :: flex-flow 
Css :: move text in a padding css 
Css :: deep selector 
Css :: cursor css 
Css :: open sublime text 3 from terminal mac 
Css :: gradient btn 
Css :: css disabled hover none 
Css :: color gradient for text 
Css :: text align left css 
Css :: flex: 0 1 auto 
Css :: time an element to disappear css 
Css :: css pass param to class 
Css :: styling input field tailwind css 
Css :: Button CSS normal active hover 
Css :: how to combine two screen sizes in media queries css 
Css :: float: down css 
Css :: after certain width how make ontent center and add margin auto both side 
Css :: sticky header not working chrome 
Css :: difference between inline block and inline-block 
Css :: JavaScript find common characters between the strings 
Css :: css waves background 
Css :: Tailwindcss Breadcrumb 
Css :: css make border rotate around element 
Css :: test typescript 
Css :: stop mysqld.exe cmd 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =