CSS Hovering to adjust text opacity doesnt work as intented, simplified as much as possible
i wanted to create divs where if you hover one side, the opposite text disappears. It works perfectly when hovering the left text, the right text disappears as expected but it doesnt work the other way around. <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”utf-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <title>choose</title> <style> .right:hover~.left p { opacity: 0;… Read More CSS Hovering to adjust text opacity doesnt work as intented, simplified as much as possible