Questions tagged as 'css'

1
answer

Hide div if you do not have multiple classes

I have a set of div that I can show or hide by using checkboxes . I am using jQuery to find the div with a certain CSS class, and just display them. The html is the following: <div class="inputs"> <input class...
asked by 12.02.2016 / 12:09
2
answers

position in a U shape

I try to position the 3 elements in a U shape but for some reason there is a space that separates them I mean this space .car { width: 100px; position: relative; height: 50px; } .cara { width: 30px; height: 15...
asked by 06.12.2017 / 01:06
3
answers

Gradually change the opacity of divs using CSS

I am looking for a purely CSS solution to the following problem. I have a div that contains an indeterminate number of divs, I'm looking for that given an RGB color, for example, (0,0,0) and a range of opacity values (0.3 - 0.7)...
asked by 06.03.2017 / 23:01
2
answers

Avoid listing before loading the nav-bar

I resort here as the last alternative, I have a menu that adds a class to expand when I press a button and executes a transition, but the list appears before time, here the code: $(document).ready(function(){ $('.nav-button').cli...
asked by 22.01.2018 / 23:13
4
answers

Calculate CSS3 percentage

How can I calculate the equivalent at width in pixeles ? That is, if I have: width: 250px; How do I calculate it in % ? , to make my website suitable for all resolutions     
asked by 13.07.2017 / 22:47
4
answers

Center div with CSS

I'm making a profile with your image as verified, but I can not get the image check to be placed next to the image of the profile, I put the parent div of the check as position:absolute but it does not work either. .profile...
asked by 28.04.2017 / 02:22
3
answers

"Next and Previous" buttons

Good afternoon, I'm a little new to the subject and I have a test application which has two buttons to go to the next question and to go back if you want. The fact is that I have no way to square them well because if the question is very long, t...
asked by 23.01.2017 / 17:24
1
answer

appear footer when in hover

What I want to do is show the footer when the mouse is on top, I did the following but it does not work. body { margin: 0; } .block { height: 2000px; } .header img { width: 100%; } .test { position: fixed;...
asked by 10.01.2017 / 15:58
2
answers

How to transition to linear-gradient?

How can I make the transition work with the example 1 that has the color made with linear-gradient , like the example 2 that has a solid color? p> If possible, only in CSS .e1 { width: 70px; height: 70p...
asked by 06.09.2017 / 15:36
3
answers

Poorly centered elements

Good, why do the map and the text below appear off center? This on the computer screen does not happen to me, it happens to me when the width of the screen is less than 1200 px (approx) , ie an iPad screen for example. How could I...
asked by 13.09.2017 / 13:23