Questions tagged as 'css'

2
answers

Set word within toogle

Colleagues, I do not know if my title was clear, but here on the site I got a toogle, but I need to put the word Yes and No inside it. The word Yes I was able to put, but it was almost out of toogle and the word No is not working. I d...
asked by 21.02.2017 / 15:59
1
answer

Problem Spring MVC + Maven + Bootstrap

Good morning. I'm trying to put bootstrap in the index of my application but I'm not getting it, the index does not read the CSS. I searched the internet and from what I understood, the css should stay within the following structure, src / main...
asked by 06.03.2017 / 16:48
1
answer

Toggle text color according to background color

How can I change the color of a text, according to the background color in which it is inserted? I've seen this a few times. It works like this: if the background is light, the text turns black, and if it's dark, the text goes white. I've...
asked by 07.03.2017 / 14:41
2
answers

Dropdown Double menu does not show the second dropdown

The first dropdown is working normally, but the second is not working at all. I have tried to specify the classes more, but there is no way, I believe it is something very simple that I am letting go. I'll be grateful if you could help me. Th...
asked by 07.03.2017 / 23:22
1
answer

Find previous sister div in CSS

I have the following HTML: <div class="load"> <img src="images/load.svg" class="loadimg"> </div> <div class="tela carregando"> <span>Teste</span> </div> the following css: .carregando {...
asked by 08.02.2017 / 23:47
1
answer

Problems selecting

Hello! Well, I have a problem ... I just do not know how to explain. Myproblemistheoneyouareseeingintheimage,thesizewhenselectingismuchlargerthanthefont...Ihopeyouhaveunderstood.I'dliketoleaveitlikethis:     
asked by 01.02.2017 / 00:29
1
answer

What is the "! mportant" in CSS? [duplicate]

Several times I've seen this attribute or property (I do not know exactly how to rate it), but I still do not realize: What is the need to use it; In order for you to serve yourself; When you use it. h4, .texto{ col...
asked by 28.01.2017 / 06:50
2
answers

How to use the hover in a class to change another class?

Next people, I have a class and another class underneath it ... but the lower class needs to be invisible until the user hovers the top class, so I put opacity: 0, and tried to put a hover in the class above for when the user passes the mouse on...
asked by 24.02.2017 / 19:03
1
answer

Handle the Scroll event in Jquery

Good afternoon, I have a Navbar that starts transparent I hedge this via query: $( "nav" ).css('border', 'none', 'important'); $("#hamburguer").css('background-color', 'transparent', 'important'); So far beauty, but when I go down I want...
asked by 26.02.2017 / 17:57
1
answer

Width and Height sizes with Relative and / or Absolute positions

I'm having problems positioning items ( div 's), in this case, I need the first div , occupy the entire height and width of the screen, while the others occupy only the padding they receive and the size of the content from wi...
asked by 03.03.2017 / 13:51