Questions tagged as 'css-hover'

2
answers

How to put this type of hover?

The hover I want is this: link My hover looks like this: link My css and html html{ font-family: sans-serif; } header{ width:100%; height:58px; background-color: #693; border-bottom: 6px solid #487f...
asked by 24.01.2018 / 13:01
4
answers

Change image with hover CSS

I have two images in html and both are in the same place on the page. What I want to do is touch the hovered images. I hidden an image with display: none and when hover the display is block, but it is not working. Any ideas? .left_corpo .resta...
asked by 20.05.2016 / 10:21
1
answer

Sub-menu decentralized - according to browser, I do not know where I'm going wrong

/*Sub-Menu*/ .menu.superior .nivel-dois, .menu.superior .nivel-dois, .menu.superior .nivel-um li:hover .nivel-dois{ display: contents; position:absolute; } .pagina-login .menu.superior, .pagina-busca .menu.superior, .pagina-carrinho .me...
asked by 29.03.2018 / 14:49
2
answers

How can I use mouseover to change the background color of a div?

Hello, I would like to change the background color of a div when you place the cursor on it, how do I do that? Div in question [HTML]: <div class='container2'> <div class="MP"> <img class='iconDetails' s...
asked by 21.06.2018 / 00:09
1
answer

How do I create a mouse-over effect on an image and position it where I want it?

I'm trying to replicate an effect of mouse over but what I've achieved so far is a bit biased, the line with the effect is passing from one side to the other, and not just the length of the text, which is what I want , I do not know how t...
asked by 02.02.2018 / 03:13
2
answers

I can not put the link with the ACTIVE function

I have a menu, in my website in wordpress, that when I move the mouse (there) it loads a border in the base, so that's fine, but I can not put the ACTIVE function for when the person is on the page related to the link stay with the border bottom...
asked by 24.02.2017 / 17:27
1
answer

Upper menu layout break in different browsers

Well, I'm having problems on my top menu, how big is the size of the black bar that is marking the menu area and the area size of each <li> of my menu. In Google Chrome it's all good, then when I go to test in other browsers everyth...
asked by 15.11.2016 / 04:12
2
answers

Get first line element and last

I have a li and wanted to get the elements that are written MARKED below. But I used the nth-of-type, it works to get the 4 element always, but I could not get the next one. Could someone help me to always get 1 after the first item where it is...
asked by 03.02.2016 / 18:14
1
answer

How to change the displayed image in Desktop and Mobile versions of a website

I needed a picture in the desktop version of a website and in the mobile version another image. Since the counter would be on the desktop (as it already is) on the desktop and the mobile would show another image, and the counter below. The...
asked by 16.10.2018 / 22:03
1
answer

Hover in third div affect the first - Previous sibling element - with pure CSS

<div class="selelikes-wrap"> <div class="selelike"> <span><</span> </div> <div> <span>0</span> </div> <div class="seleunlike"> <span>></span> </div> I wan...
asked by 05.01.2019 / 00:52