Questions tagged as 'css'

1
answer

Problem with margin-top css

I'm trying to put a margin on my table, I did so: .tab_dados {margin-top: 10px;} And it works, the problem and when I put an input on it. He sticks to her. What can it be? .form-group { margin-top: 20px; position: relative;...
asked by 15.12.2016 / 22:18
1
answer

Javascript to close menu accordion

I have the following code: * { margin:0; padding: 0; border: 0; font-family: sans-serif; font-size:14px; list-style: none; text-decoration: none; } .nav a, .nav label { display: block; padding: 10px; color...
asked by 15.12.2016 / 16:13
1
answer

"margin: 0" does not completely reset

I have a problem and, although "half solved" (gambiarra), I would like to know what causes it. I have ul with white-space: nowrap; and li 's in display: inline-block; The problem is that there is still a gap bet...
asked by 20.06.2017 / 09:07
1
answer

Add css transition in div on Flexslider

I have a flexslider in a Project, in it I have the background image and inside a div with description and button for external link. What I need to do is that with each slide change, this div has a transition, as if it were to give left 0 and up...
asked by 24.01.2017 / 14:39
1
answer

JavaScript - Doubt when manipulating values of div's with variables

Good afternoon! Home I am having a question regarding the manipulation of div's values ... When dragging an image of the div fundo1 (blue) or fundo2 (yellow) to div conteudo , I would like the values present within the% div...
asked by 06.10.2017 / 20:25
1
answer

defining sizes according to the full load, or resize of a page

Well, I'm trying to set a width according to the width of the user's browser screen, however, the console does not point to any errors, but the code also does not run var bannersWidth = document.querySelectorAll(".banner-holder .carousel figur...
asked by 29.05.2017 / 14:48
1
answer

Move div down

I have 4 divs on my page, next to each other, how can I make it so that the last div is left aligned on the bottom line? MyCode: <!-- DIV 1 --> <div style="float: left; width: 100px; height: 50px; background-color: #CCCC...
asked by 06.11.2016 / 21:21
2
answers

Why in textarea with defined height text is not vertically centered?

I have the following doubt, if in a input text I set height of 60px text is centered in the field, but this does not occur in textarea if I set a height of 60px also. p> I searched for some css property but I do not...
asked by 14.12.2016 / 16:42
1
answer

Problems identifying cell phone screen with css

I'm trying to mount a responsive login box. Where it has .css for monitor screens and another for mobile. The problem is that the cell phone is not working. I test the following: @media only screen and (max-width: 550px) { If I...
asked by 14.12.2016 / 21:39
1
answer

What are the advantages and disadvantages of using css preprocessors? [closed]

I always hear developers talk about preprocessors, but I have not found articles about the disadvantages and advantages yet. I also wanted to know if it's better to use pure or pre-processed css.     
asked by 08.12.2016 / 01:54