![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HTML5
aiyoquickly
一个学习web前端技术的搬砖工
展开
-
获取class列表属性方法
获取class列表属性方法 classList length : class的长度 add() : 添加class方法 remove() : 删除class方法 toggle() : 切换class方法 <!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charse翻译 2016-06-20 16:37:53 · 865 阅读 · 0 评论 -
css之outline
p{outline:#fff dotted thick}; 属性值:边框颜色; 边框样式; 边框宽度:thin 细轮廓 medium 中等轮廓 thick 粗轮廓原创 2017-05-23 00:01:36 · 644 阅读 · 0 评论