1. Grid: by default showing content in Y axis (column), Flex: by default showing content in X axis. Exp: If you want to style a header.. you can use f ...
分类:
Web程序 时间:
2021-03-09 13:32:34
阅读次数:
0
一 事件注册 二 事件处理 //2 事件处理 on() 绑定事件 $("div").on({ click:function () { $(this).css('background','red'); },//绑定事件1 mouseenter:function () { $(this).css('ba ...
分类:
其他好文 时间:
2021-03-09 13:25:43
阅读次数:
0
CSS3新增选择器 :first-child 表示第一个子元素是... :last-child :nth-child(numberloddleven/倍数) :first-of-type 表示第一个子元素 :last-of-type :nth-of-type (numberloddleven/倍数) ...
分类:
Web程序 时间:
2021-03-09 13:18:32
阅读次数:
0
CSS背景使用实例演练 下面介绍和背景相关的css属性,背景是所有的标签都具有的css属性。 背景有以下几种常用属性: 背景颜色 background-color:颜色 背景图片 background-image:url( ‘ ’ ) 背景重复方式 background-repeat:重复方式 ba ...
分类:
Web程序 时间:
2021-03-09 13:13:25
阅读次数:
0
CSS字体实例的多种变换 字体有以下几种常用属性: 字体 font-family:“字体名称” font-family:“字体1”,“字体2”,“字体3”,…,“字体n”; 支持设置多个字体,使用的优先级从前到后,前面的用不了就用后面的 字号(字高) font-size:大小 font-size:? ...
分类:
Web程序 时间:
2021-03-09 13:10:58
阅读次数:
0
##Selector对象 Scrapy综合bs(beautifulSoup)和lxml两者优点实现了Selector类,它是基于lxml库构建的,并简化了API接口。在Scrapy中使用Selector对象提取页面中的数据,使用时先通过XPath或CSS选择器选中页面中要提取的数据,然后进行提取。 ...
分类:
其他好文 时间:
2021-03-09 13:07:42
阅读次数:
0
px:指像素,相对长度单位,网页设计常用的基本单位。像素px是相对于显示器分辨率而言的。 em:相对长度单位。相对当前对象内文本的字体尺寸(参考物是父元素的font-size) 如果当前父元素的字体尺寸未设置,则相对于浏览器的默认字体尺寸。 特点:1、em的值并不是固定的;2、em会继承父级元素的字 ...
分类:
Web程序 时间:
2021-03-08 13:47:05
阅读次数:
0
类名语义化,尽量精短、明确,必须以字母开头命名,且全部字母为小写,单词之间统一使用下划线“_” 连接 类名嵌套层次尽量不超过三层 尽量避免直接使用元素选择器 属性书写顺序 布局定位属性:display / position / float / clear / visibility / overflo ...
分类:
Web程序 时间:
2021-03-08 13:22:51
阅读次数:
0
body主体 head标题 style type=“text/css” h1{ color:red}颜色 ...
分类:
其他好文 时间:
2021-03-08 13:03:47
阅读次数:
0
For a radio button control, when hide selected status, we can use: .input__control::before { content: ""; width: 0.5em; height: 0.5em; // box-shadow w ...
分类:
Web程序 时间:
2021-03-06 14:44:13
阅读次数:
0