iis服务器助手广告广告
返回顶部
首页 > 资讯 > 前端开发 > node.js >CSS3+新属性有哪些
  • 484
分享到

CSS3+新属性有哪些

2024-04-02 19:04:59 484人浏览 泡泡鱼
摘要

这篇文章主要介绍“css3+新属性有哪些”,在日常操作中,相信很多人在CSS3+新属性有哪些问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”CSS3+新属性有哪些”的疑惑有所帮

这篇文章主要介绍“css3+新属性有哪些”,在日常操作中,相信很多人在CSS3+新属性有哪些问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”CSS3+新属性有哪些”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

新属性

下面是 CSS3 新增的 CSS3 属性列表。

  • animation (and eight associated  longhand properties)

  • background-clip

  • background-origin

  • background-size

  • border-radius (and four associated longhand properties)

  • border-image (and six associated longhand properties)

  • box-decoration-break

  • box-shadow

  • box-sizing

  • columns (and thirteen associated  multi-column properties)

  • clear-after

  • flex (and eleven associated flexbox  properties)

  • font-stretch

  • font-size-adjust

  • font-synthesis

  • font-kerning

  • font-variant-caps

  • hanging-punctuation

  • hyphens

  • icon

  • image-resolution

  • image-orientation

  • line-break

  • object-fit

  • object-position

  • opacity

  • outline-offset

  • overflow-wrap / Word-wrap

  • backface-visibility

  • perspective

  • perspective-origin

  • pointer-events (for html)

  • resize

  • tab-size

  • text-align-last

  • text-decoration-line

  • text-decoration-skip

  • text-decoration-position

  • text-decoration-style

  • text-emphasis (and three associated properties)

  • text-justify

  • text-orientation

  • text-overflow

  • transfORM

  • transform-style

  • text-shadow

  • transition (and four associated  longhand properties)

  • word-break

  • word-spacing

  • writing-mode

新的值

在 CSS3 中为 CSS2.1 新增的取值,下面是每个属性新值的列表。

  • Value “local” for the background-attachment property

  • Value "rgba()" for any property that accepts a color value

  • Value "hsl()" for any property that accepts a color value

  • Value "hsla()" for any property that accepts a color value

  • Value "currentColor" for any property that accepts a color value

  • Value "inset()" for the clip property

  • Value "linear-gradient()" for any property that accepts an image value

  • Value "radial-gradient()" for any property that accepts an image value

  • Value "repeating-linear-gradient()" for any property that accepts an image  value

  • Value "repeating-radial-gradient()" for any property that accepts an image  value

  • Value "image()" for any property that accepts an image value

  • Multiple comma-separated images for any property that accepts an image value

  • Multiple comma-separated background-related values to match multiple  background image declarations

  • Value "center" for the position property

  • Value "page" for the position property

  • Value "space" for the background-repeat property

  • Value "round" for the background-repeat property

  • 15 new values for the cursor property

  • Values "flex" and "inline-flex" for the display property

  • Values "all-small-caps", "petite-caps", "all-petite-caps", "titling-caps",  and "unicase" for the font-variant property

  • Multiple, space-separated values for  the letter-spacing property

  • New values for the text-align property, including  "<string>", "match-parent", "start", "end", and "start end"

  • text-decoration is now a shorthand property

  • Keywords "hanging" and "each-line" declared along with length or percentage  values for the tfext-indent property

  • Value "full-width" for the text-transform property

  • rem units for lengths

  • calc() units for lengths

  • toggle() units

  • Angle units  (deg, grad, rad, turn)

  • Time units (s, ms)

新选择器

下面是 CSS3 中新增的选择器。

  • Substring matching attribute selectors  ([att^=val], [att$=val], [att*=val])

  • :target pseudo-class

  • New  pseudo-classes: :enabled, :disabled, :checked,  and :indeterminate

  • :root pseudo-class

  • New expression-based structural  pseudo-classes: :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type()

  • Other new structural  pseudo-classes: :last-child, :first-of-type, :last-of-type, :only-child, :only-of-type, :empty

  • The negation pseudo-class :not()

  • Four pseudo-elements with double-colon syntax  (::first-line, ::first-letter,::before, ::after)

  • The following-sibling combinator (p ~ img)

  • ::selection pseudo-class (removed from the spec, but everyone  uses it)

其它新特性

其它 CSS2.1 没有包含的特性。

  • @font-face

  • Media Queries

  • Keyframe animations using @keyframes

  • Conditional styles using @supports

  • Namespacing using @namespace

  • Regions

  • Filters

仍在变化中的特性

上面的列表并不详尽,还有很多仍然在发展中的规范,并没有太多的浏览器支持,下面是这些新模块的列表。

  • Counter Styles Level 3

  • Device  Adaptation

  • Display  Module Level 3

  • Line Grid

  • Mobile Text  Size Adjustment

  • CSS  Variables

  • Box  Alignment

  • The "all" property

  • Exclusions  and Shapes

  • Generated Content  for Paged Media

  • Grid  Layout

  • Grid Template  Layout

  • Line Layout  Module

  • New features in Lists and Counters

  • Overflow  Module

  • New features in Paged Media

  • New features in CSS Sizing

  • Media Queries  Level 4

  • Selectors Level  4

  • ch  units

  • Viewport relative lengths

  • New resolution units

  • Compositing and Blending

  • New features in CSS speech

  • The unicode-range descriptor for @font-face

  • New features in CSS Images and Replaced Content

  • CSS Masking

到此,关于“CSS3+新属性有哪些”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注编程网网站,小编会继续努力为大家带来更多实用的文章!

--结束END--

本文标题: CSS3+新属性有哪些

本文链接: https://www.lsjlt.com/news/86497.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • CSS3+新属性有哪些
    这篇文章主要介绍“CSS3+新属性有哪些”,在日常操作中,相信很多人在CSS3+新属性有哪些问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”CSS3+新属性有哪些”的疑惑有所帮...
    99+
    2022-10-19
  • css3中新增属性有哪些
    css3中新增属性有:边框属性。(1)border-color:为边框设置颜色。(2)border-image:使用图片来创建边框。(3)border-radius:圆角边框。(4)box-shadow:用于向方框添加阴影。背景属性。通过b...
    99+
    2022-10-24
  • CSS3新增的属性有哪些
    这篇文章将为大家详细讲解有关CSS3新增的属性有哪些,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。 CSS 用于控制网页的样式和布局。CSS3 是最新的 CSS...
    99+
    2022-10-19
  • css3中的新增属性有哪些
    这篇文章将为大家详细讲解有关css3中的新增属性有哪些,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。css3新增属性有:word-wrap、word-break、text-shadow、bo...
    99+
    2023-06-14
  • CSS3新增了哪些属性
    今天小编给大家分享一下CSS3新增了哪些属性的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一下吧。...
    99+
    2022-10-19
  • css3中有哪些新增边框属性
    这篇文章主要为大家展示了“css3中有哪些新增边框属性”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“css3中有哪些新增边框属性”这篇文章吧。 ...
    99+
    2022-10-19
  • CSS3中有哪些新增的背景属性
    本篇文章为大家展示了CSS3中有哪些新增的背景属性,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。CSS3新增属性:background-clip ,background-origin , backg...
    99+
    2023-06-08
  • css3新增哪些文本属性
    这篇文章主要介绍“css3新增哪些文本属性”,在日常操作中,相信很多人在css3新增哪些文本属性问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”css3新增哪些文本属性”的疑惑...
    99+
    2022-10-19
  • CSS3有哪些新特性
    这篇文章主要介绍“CSS3有哪些新特性”,在日常操作中,相信很多人在CSS3有哪些新特性问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”CSS3有哪些新特性”的疑惑有所帮助!接...
    99+
    2022-10-19
  • css3新特性有哪些
    这篇文章将为大家详细讲解有关css3新特性有哪些,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。   CSS3的新特征有:1、圆角效果;2、图形化边界;3、块阴影与文字阴...
    99+
    2022-10-19
  • CSS3背景属性有哪些
    本篇内容介绍了“CSS3背景属性有哪些”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成! CSS3 ...
    99+
    2022-10-19
  • css3多列属性有哪些
    本篇内容主要讲解“css3多列属性有哪些”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“css3多列属性有哪些”吧!多列属性1、column-count属性规定元...
    99+
    2022-10-19
  • CSS3高级属性有哪些
    这篇文章将为大家详细讲解有关CSS3高级属性有哪些,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。 CSS3多列属性有很多,我们一一来介绍一下,包括以下几个属性: 1、...
    99+
    2022-10-19
  • css3动画属性有哪些
    本篇内容主要讲解“css3动画属性有哪些”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“css3动画属性有哪些”吧! css3三大动画...
    99+
    2022-10-19
  • css3有哪些布局属性
    本篇内容主要讲解“css3有哪些布局属性”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“css3有哪些布局属性”吧! css3布局属性...
    99+
    2022-10-19
  • CSS3中filter属性有哪些
    小编给大家分享一下CSS3中filter属性有哪些,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!css3的滤镜filter属性,...
    99+
    2022-10-19
  • CSS3新增背景属性常用操作有哪些
    这篇文章给大家分享的是有关CSS3新增背景属性常用操作有哪些的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。background:  background-color:背...
    99+
    2022-10-19
  • CSS3常用的属性有哪些
    这篇文章主要介绍“CSS3常用的属性有哪些”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“CSS3常用的属性有哪些”文章能帮助大家解决问题。 选择器 value...
    99+
    2022-10-19
  • CSS3中动画属性有哪些
    这篇文章主要介绍了CSS3中动画属性有哪些,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。CSS3 动画虽然transition在一定的时间内...
    99+
    2022-10-19
  • css3中边距属性有哪些
    这篇文章主要介绍css3中边距属性有哪些,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完! css3的两种边距属性:1、内边距属性(padding、paddi...
    99+
    2022-10-19
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作