Questions tagged as 'css'

5
answers

How do I mark and unmark a row in a table by clicking on it?

When you click on a line in a table, how to mark it by changing the background color of the line, and if you click again uncheck the background, and if you click on another line, deselect the old one and mark the new one. How to do this using...
asked by 19.02.2014 / 20:52
1
answer

What is the use and how to use the "display: contents" of CSS?

Recently I saw that there is a new type of display in CSS display: contents , but I did not understand its intention to use it? link It seems to be just to remove the CSS from the container ... But is that what it's all about...
asked by 20.12.2018 / 13:55
2
answers

Does Google index images in SVG (inline) or Base64?

I was thinking of turning a website logo into SVG, but I was thinking of using it in direct inline as a code inside the <svg> tags.
asked by 20.09.2018 / 18:28
3
answers

How do I set a max-width to a div that increases and decreases proportionally?

My% w / w that increases or decreases proportionally is in the style of: padding-bottom: 75%; Look at this example: JSFiddle What I want is that the div that grows proportionally will lock the size when it hits the footer. If...
asked by 06.02.2014 / 15:09
2
answers

What is -webkit-transform? What is it for?

Then, I find in CSSs this -webkit-transform, but I have no idea what it is or what it is for and God does not know how to respond: I would be eternally grateful if someone could explain or pass me some place where I can read about it. Not...
asked by 15.04.2015 / 20:59
2
answers

How do you give precedence to CSS rules? [duplicate]

I know that if two CSS rules apply to the same element, the more specific one will have priority: p { color:red; } /* Todos os "p"s serão vermelhos... */ .umaClasse { color:yellow; } /* ...exceto os que possuem "umaClasse", que s...
asked by 24.10.2014 / 16:52
2
answers

How to animate display of dynamic-size elements with CSS only?

I'm building a website that has some state transitions using only CSS. In one of them the user clicks on the header and the div below displays or hides. In the other there is a sequence of images and clicking on the current image it moves...
asked by 03.12.2015 / 03:58
3
answers

What is the usefulness of the tilde operator in CSS?

When reading some of the codes I see that it is common to use tilde ( ~ ) in the selector setting. Ex.: .effeckt-show.effeckt-modal-wrap ~ .effeckt-modal-overlay { ... } Code removed from Effeckt.css .     
asked by 20.02.2014 / 19:17
2
answers

Arrows using CSS only

I would like to know, if possible, to make the following arrow using only CSS: I use to make other types of arrows, using CSS, but whenever I deal with cases like this, where the arrow has a transparent background, I use images.     
asked by 12.11.2014 / 20:01
1
answer

Difference between pseudo-class (colon :) and pseudo-element (double colon ::) in CSS

I would like to know what are the differences between these two CSS concepts, in order to understand and point out what is one, and what may be the other. For example: :hover , ::before . What I've understood so far is that -...
asked by 09.10.2015 / 05:29