Pseudo elements allow us to target elements that are not explicitly set in the DOM. Using ::before ::after we can actually create and manipulate eleme
转载 2018-12-04 23:10:00
43阅读
2评论
The interactive pseudo-classes for links (and buttons) allow us to make sure the user knows what elements on the page are interactive and that they ca
CSS
转载 2018-12-04 22:53:00
65阅读
2评论
https://www.w3schools.com/css/css_pseudo_elements.asp What are Pseudo-Elements? A CSS pseudo-element is used to style specified parts of an element. F
原创 2024-06-05 13:47:33
45阅读
Using just semantic CSS Pseudo-Classes you can help define important states for form elements that ensure the user provides the correct data without f
转载 2018-12-04 22:59:00
76阅读
2评论
伪元素(pseudo elements)和伪类(pseudo classes)非常相像,都是依附在选择器上使用。
原创 2023-01-04 14:04:52
93阅读
The interactive pseudo-classes for links (and buttons) allow us to make sure the user knows what elements on the page are interactive and that they ca...
转载 2015-12-18 03:14:00
160阅读
2评论
You can target an element that has no child elements by using the :empty pseudo-class. With browser support down to IE9, it's solid, easy way to selec
转载 2016-10-18 04:30:00
131阅读
2评论
不得不爱过渡(CSS3)案例过渡(CSS3)过渡(transition)是CSS3中具有颠覆性的特征之一,我们可以在不使用 Flash 动画或 JavaScript 的情况下,当元素从一种样式变换为另一种样式时为元素添加效果。过渡动画: 是从一个状态 渐渐的过渡到另外一个状态帧动画:通过一帧一帧的画面按照固定顺序和速度播放。
原创 2020-07-15 10:21:01
2202阅读
像手腕上散发的香水味CSS3盒模型案例CSS3盒模型CSS3中可以通过box-sizing 来指定盒模型,即可指定为content-box、border-box,这样我们计算盒子大小的方式就发生了改变。可以分成两种情况:1、box-sizing: content-box 盒子大小为 width + padding + border content-box:此值为其默认值,
原创 2020-07-15 09:25:54
791阅读
CSS3过渡效果(CSS3)<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8">\
原创 2022-10-20 10:05:50
2155阅读
CSS3动画序列(CSS3)<!DOCTYPE html><html lang="en"><head> <meta charset="UT\
原创 2022-10-20 10:05:58
5124阅读
CSS基础《图解CSSCSS简介《图解CSS》选择器《图解CSS》盒子模型CSS
原创 2022-09-01 15:35:28
228阅读
[CSS
转载 2020-07-07 21:07:00
185阅读
2评论
[CSS 中文开发手册::spelling-error (Pseudo-Elements) - CSS 中文开发手册这是一种实验技术由于该技术的规格不稳定,请查看各种浏览器的兼容性表格以供使用。另外请注意,随着规范的变化,实验技术的语法和行为在未来版本的浏览器中可能会发生变化。::spelling-errorCSS 伪元素表示浏览器已经被标记为不正确拼写
转载 2020-07-10 21:16:00
167阅读
2评论
CSS基础 《图解CSSCSS简介[https://www.jianshu.com/p/a42e4ff8b7d6] 《图解CSS》选择器[ht...
原创 2022-03-04 10:40:59
385阅读
[url]http://www.w3chtml.com/css3/[/url]
原创 2023-05-22 16:47:35
88阅读
css3其实现在的浏览器已经支持得很好了,并且有些属性,原来我之前已经不经意使用过,只是不知道那就是CSS3而已。CSS3CSS2相比较,有哪些重大的变化或亮点?一、边框1)圆形边框2)阴影边框3)使用图片装饰边框二、背景1)背景图片可调整大小2)多重背景图片3)背景图片可精确定位在某个区域,CS...
转载 2014-01-17 23:14:00
196阅读
2评论
CSS3属性calc函数(CSS3)<!DOCTYPE html><html lang="en"><head> <meta charset="\
原创 2022-10-20 10:06:01
223阅读
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml&quo
原创 2013-05-16 17:48:57
580阅读
transform让背景图标旋转360度 a b {display: inline-block;width: 14px;height: 14px;background: url(/img/button_img.png) -1px -1px no-repeat; a:hover b {-moz-tra
转载 2016-07-14 11:20:00
208阅读
  • 1
  • 2
  • 3
  • 4
  • 5