Search
 
SCRIPT & CODE EXAMPLE
 

CSS

background image with color overlay gradient css

.css {
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 59%, rgba(0, 0, 0, 0.65) 100%), url('https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png?v=c78bd457575a') no-repeat;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(59%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.65))), url('https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png?v=c78bd457575a') no-repeat;
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 59%, rgba(0, 0, 0, 0.65) 100%), url('https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png?v=c78bd457575a') no-repeat;
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 59%, rgba(0, 0, 0, 0.65) 100%), url('https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png?v=c78bd457575a') no-repeat;
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 59%, rgba(0, 0, 0, 0.65) 100%), url('https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png?v=c78bd457575a') no-repeat;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 59%, rgba(0, 0, 0, 0.65) 100%), url('https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png?v=c78bd457575a') no-repeat;
  height: 200px;

}
Comment

put gradient color over background image

  background-image: linear-gradient(#24366588, #24366588),
    url("../images/profs.jpg");
Comment

PREVIOUS NEXT
Code Example
Css :: how to remove bullet in css 
Css :: print media query css 
Css :: css toggle visibility 
Css :: how to use purgecss with webpack mix laravel 
Css :: jquery hide scrollbar but allow scrolling 
Css :: glass css 
Css :: vertical padding css 
Css :: css focus border radius 
Css :: the background image properties in css 
Css :: how to give background overlay in css 
Css :: background overlay image 
Css :: text-overflow: ellipsis 2 lines 
Css :: cursor couleur in css 
Css :: uninstall tinyproxy ubuntu 
Css :: transition timing functions 
Css :: css selector label for 
Css :: how to create multicolor text in css 
Css :: tailwind css responsive table 
Css :: over to remove padding css 
Css :: aspect ratio css 
Css :: stop css transition from firing on page load 
Css :: linear gradient not covering entire page 
Css :: media query for max width and height 
Css :: css font families 
Css :: css fadeout animation 
Css :: animate progress tag css 
Css :: overflow-x hidden not working 
Css :: color td first row css 
Css :: 1rem to px 
Css :: sass use variables from another file 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =