Hello, I am working on an HTML page where I need to apply CSS only if certain conditions are met.
The div with the id "flipbook-page3-front" will always be present on this HTML page.
Sometimes, another div with the id "pagesFlipbook" may also appear on the page.
These two divs are not siblings and are not positioned sequentially.
I want to style the "flipbook-page3-front" div only when the "pagesFlipbook" div is present. Is there a way to achieve this in CSS? Below is my current CSS code without any conditions:
.flipbook-page3-front{
width: 4000px !important; /*LARGEST WIDTH OF SCALED IMAGES*/
left: -800px !important;
}