开发者

List of deprecated CSS properties

Is there a list of CSS properties that are de开发者_如何学Cprecated? My friend is telling me that min-height is deprecated and I want to be sure that I'm not using any other deprecated property. Also, I want to check if it is true.


As far as I'm aware the min-height property is not deprecated and can be used as normal. For an excellent list of CSS properties and their compatibility with various browsers, try this site.

According to the site I linked to above, the min-height property is fully supported by every major browser except Internet Explorer 6 (in which it is only supported when applied to td elements).


min-height is not deprecated. Try Google...


If by deprecated he actually means that it isn't supported by older browsers instead of newer, then yes.

There are a lot of different CSS attributes which are only available for newer browsers as they are part of CSS3. But unlike html, css doesn't really have any deprecated attributes, unless you take into account css expressions and other IE crap that should have never been there to begin with.


I wasn't aware that min-height was deprecated. It's fully supported by every browser since IE6...


BEST place to look is the RFCs. And then you need to see for each browsers what he decides to support or not (w3schools has a nice list, although not sure it is 100% complete) This search also brings some results.


While creating a "no-obsolete" rule for this stylelint plugin, there was the need to gather all deprecated CSS at-rules, properties and values.

At-Rules:

@apply
@document
@viewport

Properties:

box-align
box-direction
box-flex
box-flex-group
box-lines
box-ordinal-group
box-orient
box-pack
clip
grid-column-gap
grid-gap
grid-row-gap
ime-mode
page-break-after
page-break-before
scroll-snap-coordinate
scroll-snap-destination
scroll-snap-points-x
scroll-snap-points-y
scroll-snap-type-x
scroll-snap-type-y
user-modify

Property Values:

box-sizing: padding-box;
image-orientation: flip;
image-rendering: optimizeQuality;
image-rendering: optimizeSpeed;
text-decoration: blink;
text-decoration-line: blink;
word-break: break-word;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜