How can I combine these two rules into one?
#body_splash{
width: 100%;
height: 100%;
display: none;
opacity: 0;
}
#body_main{
width: 100%;
height: 100%;
display: none;
opacity: 0;
}
I tried
#body_splash #body_main
and
#body_splash#body_main
but neither worked
use commas to separate them :
#body_splash,
#body_main {
width: 100%;
height: 100%;
display: none;
opacity: 0;
}
Seperate multiple selectors with a comma
#body_splash, #body_main {
width: 100%;
height: 100%;
display: none;
opacity: 0;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With