Questions tagged as 'css'

4
answers

Change the position of a li to the first position

I have the following <ul> : <ul class="opcoes"> <li id="">Escolha a opção abaixo</li> <li id="1">1</li> <li id="2">1</li> <li id="3">3</li> </ul>...
asked by 29.09.2017 / 22:40
2
answers

System of tabs in CSS stops working when changing quantity

I'm trying to use a system of pure CSS flaps. It seemed very good, however when I add new tabs or remove some of it stops working, does anyone know to tell me why? Only 3 tabs works fine: .tabs input[type='radio'] { display:none...
asked by 05.08.2016 / 23:16
2
answers

How to get this scrolling effect - when scrolling the page? [closed]

On this site, when you make any scrolling movement at the beginning, it scrolls to the end of the section. I would like to know how this effect is executed correctly. link Can anyone help me?     
asked by 08.05.2017 / 16:26
3
answers

Text alignment vertically [duplicate]

I'm trying to align text to the center of the screen, I tried to use transform:translateY(-50%) with top:50% in position:absolute , but it did not work, I'd like to know how to sort it, and if possible, some functional exam...
asked by 09.01.2017 / 13:37
3
answers

Do I need to insert an HTML tag with jQuery to encapsulate the code below?

How to insert an HTML element after opening and before tag closing with jQuery? This within a each : $("#main_div").append('<div class="Ftitulo">'+item.titulo+'</div>') $("#main_div").append('<div class="Fdescricao">...
asked by 04.08.2014 / 22:40
2
answers

Toggle colors in table with PHP [duplicate]

I have a code that displays a table in the% list of registered%, and to embellish, the code causes it to display 1 in 1 by alternating the colors between white and gray. COR -> White COR -> Gray COR -> White COR -> Gray ... How ca...
asked by 29.07.2015 / 19:14
3
answers

Diagonal button only the left side

I have to make a button like this in CSS: I know I can do this by cropping the image and setting input to image but I wanted to do this in CSS . I found a way that ALMOST would help me what it would be: .botao{...
asked by 28.04.2016 / 20:31
4
answers

Positioning of li's on page

I would like to make my li spread evenly across the width of the page. How can I do this with css?     
asked by 02.08.2016 / 14:37
5
answers

How to centralize an information for all TDs by CSS?

I'm with a lot of <td> and I need them centralized. I would like to do it by CSS, for example td { puxar por aqui. } This instead of putting align="center" on all tds. How to do this, affecting all table cells on t...
asked by 20.09.2016 / 19:55
1
answer

How to get the blue color of links using CSS?

My teacher asked me to recreate the pages of G1, Globo Esporte and Walmart. It wants the links "dead, so I use <a href="#"> . The problem is that there the content of a turns blue, and the pages have links in several differe...
asked by 20.09.2016 / 05:35