Are you able to alternate the CSS of a component when some other component is being concerned with?

Hello all,

​

So this works:

.product__title:hover ~ .sale__price {
opacity: 1;
}

After I hover over product name the sale worth turns into visual.

So why does this now not paintings?

​

.product__title:focal point ~ .sale__price {
opacity: 1;
}

When the product name is targeted at the I would like the sale worth to be visual.

Any concepts?

Thank you upfront!



View Reddit by way of RPPUKView Supply

You may also like...

WP2Social Auto Publish Powered By : XYZScripts.com