Search
 
SCRIPT & CODE EXAMPLE
 

HTML

gradient on top of image css

#show_bg_2 {
    background-image:
    linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(117, 19, 93, 0.73)),
    url('images/background.jpg');
    width: 80%;
    height: 400px;
    background-size: cover;
    color: white;
    padding: 20px;
}
Comment

PREVIOUS NEXT
Code Example
Html :: buton html href 
Html :: django html checkbox if condition chexked 
Html :: code to start text from right in html in arabic 
Html :: select first option deselect 
Html :: markdown comment 
Html :: HTML Links - Hyperlinks 
Html :: youtube embed autoplay 
Html :: html lazy loading images 
Html :: a tah 
Html :: input required 
Html :: html input only letters 
Html :: Ion-img in center of screen 
Html :: csrf laravel 5 
Html :: html template 
Html :: fontawesome online link 
Html :: ionic onfig.xml hide loader 
Html :: font awesome facebook icon 
Html :: html file input accept excel file 
Html :: nuxt input image base64 
Html :: how to limit characters in contenteditable div 
Html :: html how to add an image 
Html :: use of extends in html django 
Html :: at html 
Html :: html5 video player 
Html :: insert image html 
Html :: submit and open another page 
Html :: bulma upload file 
Html :: side by side tables in bootstrap 
Html :: laravel blade @checked 
Html :: tailwind container 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =