Search
 
SCRIPT & CODE EXAMPLE
 

CSS

affect top div opacity without affecting childrne

#container {
    border: solid gold 1px;   
    width: 400px;
    height: 200px;
    background:rgba(56,255,255,0.1);
}

#box {
    border: solid silver 1px;
    margin: 10px;
    width: 300px;
    height: 100px;
    background:rgba(205,206,255,0.1);
  	transition: 2s background;
}

// if you then want to apply an animation, do it on background-color instead of opacity
Comment

PREVIOUS NEXT
Code Example
Css :: how to disable site anchor 
Css :: take out side bar in css 
Css :: media query min and max width 
Css :: secltor for parent li css 
Css :: CSS transition slide down 
Css :: insert on positions CSS 
Css :: css tricks macos spaces in dock 
Css :: hover 
Css :: placer balise p a la suite 
Css :: change disbled button background pyqt5 
Css :: Every user on your website has an image avatar that is displayed when 
Css :: css apply style to direct children 
Css :: Loop Over Array of Objects and Combine them if they have similar keys 
Css :: why is my css not working 
Css :: make element auto scale to page 
Css :: division in css 
Css :: css flex 
Css :: materialize css icons 
Css :: CodeIgniter + WordPress integration 
Css :: box-sizing 
Css :: :before css 
Css :: table tr sortable helper css 
Css :: css structure 
Css :: custom properties css 
Css :: target element pseudo-classes 
Css :: move div up and down infinite 
Css :: cd cover dimensions 
Css :: dynamic circle progress bar css 
Css :: react css change number animation 
Css :: top 0 bottom 0 left 0 right 0 alternate css 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =