2020年7月16日

CSS font-family常见中文字体对应的英文名称

摘要: CSS font-family常见中文字体对应的英文名称 阅读全文

posted @ 2020-07-16 09:46 九涅 阅读(155) 评论(0) 推荐(0) 编辑

2020年5月21日

javascript 正则表达式

摘要: javascript 正则表达式 阅读全文

posted @ 2020-05-21 15:15 九涅 阅读(119) 评论(0) 推荐(0) 编辑

2020年2月20日

contains( ) 检查某个节点是不是另一个节点的后代,以便不用通过DOM文档树查找 P300

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2020-02-20 10:56 九涅 阅读(0) 评论(0) 推荐(0) 编辑

2020年1月13日

perspective:定义 3D 元素距视图的距离

摘要: 该属性允许改变 3D 元素,查看 3D 元素的视图。只影响 3D 转换元素。 当为元素定义 perspective 属性时,其子元素会获得透视效果,而不是元素本身。 以像素计算,数值后不用加单位。数值越小离屏幕越近,数值越大离屏幕越远。 div { perspective: 500; -webkit 阅读全文

posted @ 2020-01-13 09:59 九涅 阅读(365) 评论(0) 推荐(0) 编辑

2019年12月10日

镜像翻转

摘要: 方法一:以轴为镜像 .mirrorRotateLevel { transform: rotateY(180deg); /* 水平镜像翻转 */ } .mirrorRotateVertical { transform: rotateX(180deg); /* 垂直镜像翻转 */ } 方法二:以点为镜像 阅读全文

posted @ 2019-12-10 11:41 九涅 阅读(1227) 评论(0) 推荐(0) 编辑

2019年11月19日

repeat_日常

摘要: 序号 发音标注 英译 汉译 1 /ˈnævɪɡeɪt/ navigate v.导航 2 /ˈænəlaɪz/ analyze v.分析;(分析)研究;分解;解析 3 refactor n.重构 4 /ɪɡˈzɪstɪŋ/ existing adj.现存的,现存的 5 project from exi 阅读全文

posted @ 2019-11-19 11:34 九涅 阅读(261) 评论(0) 推荐(0) 编辑

2019年11月15日

h5新标签在IE浏览器和主流浏览器中的兼容性不同,比如是否display:block

摘要: h5新标签在IE浏览器和主流浏览器中的兼容性不同,比如是否display:block 阅读全文

posted @ 2019-11-15 14:36 九涅 阅读(147) 评论(0) 推荐(0) 编辑

2019年11月5日

tab_控件

摘要: <!--切换控件start--><ul class="listItem tab-container radio "> <li> <input class="tab-toggle" id="tab-1" type="radio" name="toggle" checked /> <label data 阅读全文

posted @ 2019-11-05 09:23 九涅 阅读(105) 评论(0) 推荐(0) 编辑

2019年11月4日

自定义_单选按钮和复选框_样式

摘要: 与文本联动 ... 阅读全文

posted @ 2019-11-04 17:02 九涅 阅读(205) 评论(0) 推荐(0) 编辑

+相邻兄弟选择器

摘要: 可选择紧接在另一元素后的元素,且二者有相同父元素。 阅读全文

posted @ 2019-11-04 15:57 九涅 阅读(124) 评论(0) 推荐(0) 编辑

select选择框三级联动

摘要: <script language="javascript"> var selItm = new Array(4), selItemr = new Array(4),i,j; for ( i=0; i<4; i++){ selItm[i] = new Array(); selItemr[i] = ne 阅读全文

posted @ 2019-11-04 14:55 九涅 阅读(2585) 评论(0) 推荐(0) 编辑

提示弹框

摘要: <!doctype html><html> <head> <meta charset="utf-8" /> <title>提示弹框</title> <style type="text/css">*,*::before,*::after{box-sizing:border-box;} .body{ d 阅读全文

posted @ 2019-11-04 14:51 九涅 阅读(117) 评论(0) 推荐(0) 编辑

2019年9月10日

正方形_自适应_移动端

摘要: 方法一: 在 CSS 盒模型中,一个比较容易被忽略的就是 margin, padding 的百分比数值计算。 按照规定,margin, padding 的百分比数值是相对 父元素 的宽度计算的。由此可以发现只需将元素垂直方向的一个 padding 值设定为与 width 相同的百分比就可以制作出自适 阅读全文

posted @ 2019-09-10 15:51 九涅 阅读(109) 评论(0) 推荐(0) 编辑

2019年9月9日

meta name="viewport" content="width=device-width,initial-scale=1.0"

摘要: meta name="viewport" content="width=device-width,initial-scale=1.0" 阅读全文

posted @ 2019-09-09 16:16 九涅 阅读(96) 评论(0) 推荐(0) 编辑

2019年8月30日

:before/:after与::before/::after的区别 和属性content:值

摘要: 一、伪元素和伪类是非常相像的两个东西。在实际上 css3 为了区分两者,已经明确规定了伪类用一个冒号来表示,而伪元素则用两个冒号来表示。 :Pseudo-classes ::Pseudo-elements 但因为兼容性的问题,所以现在大部分还是统一的单冒号,但是抛开兼容性的问题,我们在书写时应该尽可 阅读全文

posted @ 2019-08-30 15:39 九涅 阅读(916) 评论(0) 推荐(0) 编辑

2019年8月29日

颜色关键字

摘要: 阅读全文

posted @ 2019-08-29 18:13 九涅 阅读(133) 评论(0) 推荐(0) 编辑

2019年8月28日

布局:flex弹性布局_兼容性写法

摘要: /* flex弹性盒布局兼容性写法样式文件 * 常用类 * display__flex * flex_direction__column * flex_wrap__wrap * justify_content__center * justify_content__space_between * justify_content__space_around * align_items__center 阅读全文

posted @ 2019-08-28 14:05 九涅 阅读(1303) 评论(0) 推荐(0) 编辑

2019年8月23日

布局:文本多列布局 column-* :

摘要: 文本多列布局 阅读全文

posted @ 2019-08-23 17:04 九涅 阅读(176) 评论(0) 推荐(0) 编辑

布局:grid网格布局

摘要: 理论01 理论02 阅读全文

posted @ 2019-08-23 15:32 九涅 阅读(131) 评论(0) 推荐(0) 编辑

clear

摘要: clear 阅读全文

posted @ 2019-08-23 14:37 九涅 阅读(105) 评论(0) 推荐(0) 编辑

导航