1. html 结构 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=de…
css子元素选择器和后代选择器在功能描述上非常相同,但是他们其实是有区别的,本文章通过两个简单的实例向大家介绍子元素选择器与后代选择器的区别,需要的朋友可以参考一下. 首先我们来了解一下子元素选择器与后代选择器的基本语法 语法 子元素选择器的语法如下: div>ul{color:red:} 子元素选择器使用大于号">"做为连接符,子元素选择器只能选择作为某元素子元素的元素 后代选择器的语法如下: h1 em{color:red;} 后代选择器可以选择作为某元素后代的元素,父…
记录一下前一段时间使用.学习的几种选择器. 1. :frist-child 选择器n 比如<ul><li></li> <li></li> <li></li></ul> 要选中第一个li,则使用 li:frist-child{},而不是ul:frist-child{},将会选中第一个li标签 如果ul下第一个元素不是 li, li:frist-child就失效了.突然感觉好鸡肋.. 2. :nth-child(n…
CSS的引入方式.长度与颜色单位.常用样式.选择器 一.CSS的三种引入方式 1.行间式 <!doctype html> <html> <head> <meta charset="UTF-8"> <title>行间式</title> </head> <body> <!-- 1.在标签头部的style标签内 --> <!-- 2.属性值满足CSS语法 --> <!…
CSS子元素设置margin-top作用于父容器? 原因: In this specification, the expression collapsing margins means that adjoining margins (no non-empty content, padding or border areas or clearance separate them) of two or more boxes (which may be next to one another or n…
转载自:http://blog.csdn.net/zhejingyuan/article/details/11801027 方法 利用方法:Element.select(String selector)和Elements.select(String selector). File input = new File("/tmp/input.html"); Document doc = Jsoup.parse(input, "UTF-8", "http://e…
"自己"这个东西是看不见的,撞上一些别的什么,反弹回来,才会了解"自己". 所以,跟很强的东西.可怕的东西.水准很高的东西相碰撞,然后才知道"自己"是什么,这才是自我 . 运行环境 JDK8 + IntelliJ IDEA 2018.3  利用方法 Element.select(String selector)和Elements.select(String selector). jar包文件 https://files.cnblogs.com/f…
Select 选择器 当选项过多时,使用下拉菜单展示并选择内容. 基础用法 适用广泛的基础单选 v-model的值为当前被选中的el-option的 value 属性值 <template> <el-select v-model="value" placeholder="请选择"> <el-option v-for="item in options" :key="item.value" :labe…
Select 选择器 基础用法 <el-select v-model="val1" placeholder="请输入"> <el-option v-for="item in options" :label="item.value" :value="item.key" :disabled="item.disabled"> </el-option> <…
子查询 做where条件 做 from的临时表 ,做select的一个字段 等…