Questions tagged as 'css'

1
answer

Jquery effect does not work as expected

I created a div that when I clicked the mouse on top, the background of it is filled by a certain color. There are several div's that act this way, aligned side by side. The id's of these div's are named increasing, so if I have 4 div's fo...
asked by 05.05.2017 / 13:51
1
answer

Why media queries work like this?

I was creating a responsive menu, and u noticed that if I did not put the media queries from the smallest to the largest it does not work correctly. @media only screen and (min-width:560px) { .menu li { width: 132px; height...
asked by 26.07.2017 / 17:23
3
answers

Put input is below the label

How to make this input stay below the label. .passo { width: 30px; height: 30px; border-radius: 50%; line-height: 30px; text-align: center; color: #fff; background: #29b2fe; margin-right: 15px; } .input { }...
asked by 28.07.2017 / 21:26
3
answers

Comparison with if

Personal what is wrong in the code, I made a function that calls a css if a value is greater than 5, the higher value works but the lower one would be 3 where it would appear another css does not work follow the code SetInterval(function () {...
asked by 14.06.2017 / 19:00
1
answer

Loop for printing per page

I have a loop: <?php for($i=0; $i<=20; $i++){ ?> <div id=""> <?php echo $i; ?> </div> <?php } ?> I need each of these DIVs to appear separately at the time of printing, that is, one item per page, regardl...
asked by 08.08.2017 / 20:34
1
answer

Set the CSS width of the button to 100% when mobile

Hello, I would like help with a small problem, although it sounds simple, I do not mess with CSS so I ask for help. I would like to set the width of my button when the site is accessed for 100% so that it occupies all space. I be...
asked by 28.03.2017 / 21:25
1
answer

checkbox icone google in firefox

I'm having a problem with a checkbox in firefox. I mounted it like this: .checkbox { display:none; } .checkbox + label:before { font-family: 'Material Icons'; display: inline-block;...
asked by 14.03.2017 / 17:16
1
answer

Display and hide images with JavaScript

I need some help with the source code below: CSS : img { display: block; } Javascript : var total = 5; var numero = 1; function mostrar() { if (numero <= total) { var inicio = (numero - 1) * 1 + 1;...
asked by 17.02.2017 / 11:47
1
answer

CSS problem

Well, I have a problem, I know this is functional, but it never worked for me. Follow the code: HTML <section class="menu-departamentos"> <h2>Departamentos</h2> <nav> <ul> <l...
asked by 11.02.2017 / 17:24
3
answers

How to break line between CSS tags [closed]

I would like to know how to break line between tags of the same type Ex: I have several labels and I want to break the line between them, but so that I do once for all     
asked by 04.10.2017 / 19:48