Questions tagged as 'css3'

1
answer

CSS error, apply style to the wrong item

Good, this is my first question and I hope to do it well, I'm copying a web page to practice html and css, what happens to me is that when I try to put the background blue of page-section-2 actually it turns blue the page-section-1...
asked by 19.08.2018 / 12:01
2
answers

hover with jQuery when you click on div

I'm working with HTML5, CSS, Bootrap and JQuery. The problem is not to change the color to the div, what I can not do is to execute the action until you click on one of the divs. When you click on the payment button for extra hours, take the col...
asked by 09.08.2018 / 23:37
2
answers

How to reference the id of a body to css?

I'm interested in using the same CSS on several pages. I am trying to assign a CSS style to a body with the id="fondo2" . I use the same syntax as for the input elements. Am I making the reference well? <body id="fondo2"> .....
asked by 30.10.2017 / 21:55
1
answer

how to put letters inside a background image in Html5?

could you tell me or advise me how I can put the letters inside the image without doing this in the style of the letters: margin-top:-100; since if I do that affects the responsiveness of the image, the framework I use is Foundation.js. T...
asked by 14.05.2017 / 21:43
4
answers

Hide content except the one that is checked

I have the following HTML code: <div id="contenedor"> <input id="tab1" type="radio" name="opcion" checked="checked" /> <label for="tab1">Tab1</label> <input id="tab2" type="radio" name="opcion" /> &l...
asked by 26.04.2017 / 19:26
1
answer

Blank space in header - caused by margin-top of ul

Edit : I just saw that it's the ul, but should not I leave the margin relative to the father? I'm doing something as simple as a header, but for some reason, entering a margin in the ul produces the margin outside the parent's contain...
asked by 18.11.2016 / 17:54
1
answer

Simultaneous animations in CSS

I'm experimenting with CSS animations, and I can not find a way for two animations to occur at the same time. I tried several ways, for example writing the two HTML tags on the same line, or that the two elements have the same animation, and the...
asked by 30.12.2018 / 02:26
2
answers

How can I make a menu on an image?

I hope and you can help me with a question I have since I do not know much about css yet. Well, how can I make a menu on an image with css example I have the following html and css code: <div class="image-menu"> <img src="images/i...
asked by 06.07.2018 / 00:45
2
answers

Center dt / dd vertically in Bootstrap 4

I tell you, I'm working with Bootstrap 4, and I'm having a problem wanting to vertically center the dd within a dl My code would be something like that dl { display: flex !important; justify-content...
asked by 26.07.2018 / 17:04
2
answers

How to change the default colors of the options of a select?

What I would like to do is that the drop-down list that comes out of a select that in this case would be a set of options , have a different background color and when they are passed over it modify the key of it. CSS code:...
asked by 09.02.2017 / 21:50