
html、css
文章平均质量分 72
RainGirl_
这个作者很懒,什么都没留下…
展开
-
SVG 常用元素、viewBox、preserveAspectRatio等
<mpath href='test' xlink:href='test'>复用已定义的<path id='test'>, <mpath>作为<animateMotion>的子元素,使其能按path定义的路径运动;若不复用外部的path,可以在<animateMotion>加上子元素<path d='....'>;<animateMotion dur="3s" repeatCount="4" path=""> ,动画运动.原创 2021-05-17 22:13:21 · 1142 阅读 · 1 评论 -
CSS 盒子模型
1,标准盒子模型:2,IE盒子模型:3,使用box-sizing 改变盒子模型4,使用百分比时,width指的是父元素的宽度:content + padding+border;height指的是父元素的高度:content+padding+border;原创 2021-04-25 23:11:38 · 186 阅读 · 0 评论