Questions tagged as 'css3'

1
answer

Flexbox replaces GRID?

I've been taking a look at the flex properties, and have I realized that they do the same thing as the grid or am I wrong? If so, what is the difference between them? When should I use one or the other?     
asked by 05.10.2016 / 21:38
1
answer

Pin menu to the top of the page when scrolling down

I have a div with height 100% and then a navbar . I would like that when the page was down the navbar would stick to the top of the page. CSS ul.navbar { list-style-type: none; margin: 0; padding: 0; overflow: hidden;...
asked by 29.01.2017 / 03:58
1
answer

Equal shadow effect on gmail login screen

How to do the same shadow effect by clicking on the show / hide password same button you have on the Google login. I have tried to do with the pseudo-element: before : focus but I did not succeed. const btn_password = $(".viewPasswor...
asked by 05.12.2018 / 19:47
3
answers

Problem with hover event in Firefox

The next code is to use the hover event in the first image and change the second class. But after testing, it did not work on the Firefox browser, running only on Chrome, Safari and Opera browsers. Here is an example of the code: HTML...
asked by 27.10.2015 / 10:59
1
answer

How to put Transition in Form Option

I'm having a hard time applying an effect to an Option, I have a form where you have Name, Email, Phone, Themes. In Where Themes is, it has a Child Decorations option, when selecting Child Decorations it appears another Option below and I wou...
asked by 03.09.2015 / 22:34
1
answer

What is the difference between cursor: no-drop and not-allowed in CSS

I would like to know what is the difference between the no-drop and not-allowed values of the CSS property . span{ font-size: 30px; } .not-allowed{ cursor: not-allowed; } .no-drop{ cursor: no-drop; } <...
asked by 24.11.2015 / 17:22
1
answer

Two elements with the same height with jQuery - all the time

I'm taking advantage of a gallery system that I found on the web where, depending on the proximity of the mouse image, it widens proportionally. Link: Image Gallery Well, I have adapted the code to be responsive (and as you can see it is...
asked by 06.09.2014 / 20:40
1
answer

Make DIV occupy remainder of the page with CSS

Good people, I have a div#x that varies its width between 70px ~ 220px . I need a second div#y , which is by your side to occupy the rest of the page space. With jQuery it would be something like: $('#y).width() =...
asked by 18.12.2014 / 01:54
2
answers

Layout adjustment with elements that are automatically generated

I'm doing a site where one of the pages is responsible for listing user posts in the form of boxes. Each box corresponds to a new user publication, which is generated by code in ASP.NET MVC 4 with Entity Framework 6 automatically, picking up the...
asked by 03.12.2014 / 13:52
1
answer

How to center figure with max-width defined?

I'm trying to center a figure with max-width defined. When centralizing without max-width , that's right. But the background exists in it is 100% non-centered next to figure . For this I used max-width , but when using f...
asked by 20.06.2014 / 14:24