What CSS properties can be applied to HTML elements

I'm looking for a / spec source that can tell me which CSS properties can be applied to HTML elements. For example, the css property; "Overflow". I know that I can apply this to div, p, textarea, but what other elements can I apply to this? Is there a spec where I can reference?

+3
source share
4 answers

See http://www.w3.org/TR/CSS2/ and http://www.w3.org/TR/CSS/ .

For example, regarding your property question, overflowsee:

http://www.w3.org/TR/CSS2/visufx.html#overflow-clipping , stating:

'overflow'
    Value:          visible | hidden | scroll | auto | inherit
    Initial:        visible
    Applies to:     block-level and replaced elements
    Inherited:      no
    Percentages:    N/A
    Media:          visual
+6

CSS , . , <br> color. , , CSS. " ". , , , .

, " " , . , border-color , border-style - none border-width - 0. ( - , .)

+1
0

CSS HTML; .

, , (, img), . , CSS:

strong { display: block; height: 5em; width: 5em; overflow: scroll; }
0

Source: https://habr.com/ru/post/1702920/


All Articles