1、浮动 1、标准流(文档流):元素按部就班按照自身的特性排列 2、浮动定义:元素会脱离标准普通流的控制,移动到指定位置的过程 3、使用: (1) 左浮动:float:left (2) 右浮动:float:right 4、结论 (1) 浮动后的元素会脱离标准流,漂浮在其他没有浮动的盒子上边 (2) ...
分类:
Web程序 时间:
2020-08-18 15:37:08
阅读次数:
107
第1节 回顾1.1 表连接内连接:隐式、显式隐式:没有 join,使用 where显式:inner join..on外连接:左连接和右连接左连接:left outer join … on右连接:right outer join … on1.2 子查询三种情况:1) 单行单列:比较运算符:>、<、=2 ...
分类:
数据库 时间:
2020-08-18 14:02:07
阅读次数:
140
题目 给定一个二叉树,返回它的中序 遍历。 实现 # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def inorderTraversal(self, roo ...
分类:
其他好文 时间:
2020-08-15 22:23:27
阅读次数:
69
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use n ...
分类:
其他好文 时间:
2020-08-13 12:42:41
阅读次数:
61
.selected{ border-color: #5FB878; } .selected:after { content: ""; position: absolute; top: 0; right: 0; border-top: 30px solid #5FB878; border-left: ...
分类:
Web程序 时间:
2020-08-06 19:30:10
阅读次数:
99
import turtledef main(): count = 1 while count <= 5: turtle.forward(100) turtle.right(144) count = count + 1 turtle.exitonclick()if __name__== '_main_ ...
分类:
编程语言 时间:
2020-08-05 23:27:07
阅读次数:
104
宽度改变从而改变某个元素的样式 @media screen and (max-width:750px) {/* 仿bootstrap的自适应隐藏功能,当屏幕宽度小于750时,让它隐藏 */ .h-right { display: none; } /* 改变该元素的上边距 */ .main_right ...
分类:
其他好文 时间:
2020-08-03 18:38:20
阅读次数:
76
前序遍历+重赋值 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode() {} * TreeNode(i ...
分类:
其他好文 时间:
2020-08-02 17:34:21
阅读次数:
91
问题:输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。 分析:从左向右、从上到下打印,画图分析,考虑边界变化以及结束条件。 行不变,列变left-->right;列不变,行变top+1-->bottom; 行不变,列变right-1-->left+1;列不变,行变,bottom-->t ...
分类:
其他好文 时间:
2020-07-31 22:59:44
阅读次数:
103
html <button class="btn btn-sm btn-primary pull-right" ng-click="exportData($event)"><i class="fa fa-spinner fa-pulse hidden"></i>导出表格</button> js //导 ...
分类:
Web程序 时间:
2020-07-30 22:03:35
阅读次数:
93