Questions tagged as 'css'

0
answers

Group code on a line [closed]

Well, I'd like to change my CSS code by adding the parameters that are "joinable" For example this code: { margin-top: -2px; -> juntável com MARGIN margin-right: 40px; -> juntável com MARGIN } margin-X , padding-X parame...
asked by 16.01.2016 / 18:23
1
answer

how to use the last-child for the penultimate too?

I want to make a selection with css for last and penultimate item. I know I can use the last-child selector for the last, but the penultimate selector? How do I do?     
asked by 23.08.2016 / 15:45
4
answers

Difference between span img and div img

I've seen in some source code: <span> <img="../imagens/1.jpg"></span> and in others: <div> <img="../imagens/1.jpg"></div> Is this wrong? I always thought <span> was used exclusively for...
asked by 15.01.2015 / 18:24
2
answers

How do I represent this using CSS?

Does anyone have a clue how I can represent this using HTML and CSS? Without using absolute position, only with border or something else. (This would be the art image I want to transcribe in css)     
asked by 18.11.2016 / 19:22
4
answers

What is the opposite of "display none"?

Before doing some research on the properties of the display. I want to hide some div and used display: none . To re-display the div display property should I use? (I'm working with Javascript)     
asked by 26.01.2017 / 10:16
2
answers

What is the default value for the "position" attribute?

In CSS, I know that the position property can receive the fixed , absolute and relative values. Each has a different effect on the position of the element. But I was in doubt when I was asked the following way by an...
asked by 22.11.2016 / 20:50
3
answers

Image with 100% width

I have the following CSS declarations applied to an element: .minhaClass { float:left; width:100%; height:560px; background:url(../imagens/corpo/imagen.jpg) repeat-x top center; } This will happen on a website with top, body and foo...
asked by 31.01.2014 / 16:56
2
answers

How to make a sequence of boxes with the border in triangular format to the right, on top of the other, box with CSS?

I did not know a better title to describe my need, but in fact, I would like to be able to make a sequence of boxes whose right border is in a triangular format, superimposed on the subsequent box. So: My idea is to put a text centere...
asked by 01.11.2018 / 14:28
3
answers

How to change date format in bootstrap from mm / dd / yyyy to dd / mm / yyyy

This is the error you are giving:   Uncaught TypeError: Can not set property 'pt-BR' of undefined Insert some links to format the date, second time I picked up the net and even then the date is still wrong (another format) and I got this...
asked by 03.07.2014 / 21:36
1
answer

How to increase select with css proportionally

I have a page in select that shows the stores that I have registered in my BD, I got a css that changed the layout of the same making it more pleasant, but I have a problem, I need this select to get bigger and when changing the size in height i...
asked by 26.02.2015 / 15:16