Right click works as a hover in pure css without js - css

I have a header with popup menu which appears from the left when I hover onto the certain part of the header. But when I make right click somewhere on the screen the popup menu appears, like the right click works as a hover. There is no js at all only css. I can't figure out why this is happening.

Related

How to keep scrollbar at the top of a modal popup

I'm used Blazor to make a modal popup but I've noticed that the scrollbar automatically jumps to the bottom of the popup versus being at the top when the modal is opened. I used the basic overflow:auto in my css class and I tried using transform:rotateX(180deg) which does flip the scrollbar to the top of the modal, but also flips the text upside down. Is there a way to get the scrollbar to the top of the modal using only Css without flipping the text?

Is there a method to prevent hover on header not the navigation bar?

Whenever I click on underneath the navbar then It shows like a link, and I don't want that. just like I shown in this picture. https://imgur.com/4JOcVhU
There is some css issues. like padding or hights of your navbar link elements

CSS div disappears on scroll

I'm working on a site which uses pure CSS and hover states to build the drop-menu. The problem is that the number of navigation items are so many that the a user has to scroll to see it on smaller laptops. But what happens is the menu disappears before reaching the bottom as if a mouseout event has occurred. Is there a way to prevent this without having to convert the menu to javascript/jQuery?
http://spinov8.com/SNS_demo/shop
Your dropdown seems to disappear with the rest of your navigation when you scroll down, as soon as you scroll upwards it reappears with your dropdown already open.
I removed the jquery that was making it disappear on scroll down and reappear on scroll up so that it remains fixed.

css top attribute behaviour in Firefox and Chrome

I have a problem related with the css 'top' attribute of a Foundation modal.
I have long list of anchors and when I click in each anchor, a modal is opened. I have the css top attibute set to 100px.
When I use Chrome, even if I am in the bottom of the list and I click in one of the last anchors, my modal appears always at 100px of the top of the screen, i.e at 6356px of the top of the body. However, using Firefox, when I click in one of these last anchors, my modal appears at 100px of the top of the body, so I have to scroll up to see the modal. What can I do to make Firefox behave like Chrome?

How do you make a bootstrap popover scroll with the navbar?

I have a bootstrap popover() being called on a navlink in my fixed header. However, when the user scrolls, the popover is left behind on the page; I would like it to follow the navbar, like dropdown menus do. If you add position:fixed; to the popover's style, it does follow the navbar, but then upon scrolling, closing, and reopening the popover, it now have a default position partway down the page. How do you do this properly?

Resources