Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css make background visible in text

.transparency{
    background-color: rgba(255, 255, 0, 0.3); /* <-- this line is modified */
    display: block;
    margin: 0 auto;
    width: 300px;
    height: 500px;
}
.content{
    color: #000;
    text-align: center;
}
img{
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1920px;
    /* Set up proportionate scaling */
    width: 100%;
    height: auto;
    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;  
    z-index:-1; /* <-- this line is added */
}
Comment

PREVIOUS NEXT
Code Example
Css :: print media query css 
Css :: grid place between 
Css :: angular headers for enc type 
Css :: how to make image fit container css 
Css :: background color transparent opacity css 
Css :: multi colors in background in css 
Css :: form layout with glassmorphism css 
Css :: how to underline font in css 
Css :: css center table on page 
Css :: how to set border length in css without div 
Css :: materialize css for react 
Css :: how to remove lines from textarea 
Css :: arrow up css 
Css :: font face 
Css :: rotate in 3d css 
Css :: h2 in px css 
Css :: how to put link at bottom of page html 
Css :: multiple radial gradient css 
Css :: background shorthand 
Css :: scss variables 
Css :: scss responsive container 
Css :: css put background on top of another background image 
Css :: css video background 
Css :: Shadow On left & right side 
Css :: alternate css animation 
Css :: html css disabled button hover style 
Css :: flex grow 
Css :: webkit box shadow not working 
Css :: what is a max and min width media query 
Css :: parent hover and child hover at the same time 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =