1.字间距 letter-spacing: 3px; 2.首行空两个字符 text-indent: 2em;//必须为em为单位1em为一个字符 3.文字两端对齐。 text-align: justify; 4.文字单行超出部分为省略号 overflow: hidden; white-space: ...
分类:
Web程序 时间:
2020-09-09 18:54:31
阅读次数:
62
一.发送效果 HTML <div id="send-btn"> <button> // 这里是一个svg的占位 Send </button> </div> CSS #send-btn{ display: flex; align-items: center; justify-content: cent ...
分类:
Web程序 时间:
2020-09-09 18:51:19
阅读次数:
50
输入一棵二叉搜索树,将该二叉搜索树转换成一个排序的双向链表。要求不能创建任何新的结点,只能调整树中结点指针的指向。 Python # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.r ...
分类:
其他好文 时间:
2020-09-02 16:53:04
阅读次数:
42
题目 Description Little Leticija is preparing for a programming exam. Even though she has solved a lot of tasks, there’s one still left unsolved, so she ...
分类:
其他好文 时间:
2020-08-31 13:30:01
阅读次数:
65
1 /* 2 线性表的排序算法 3 cza 4 2020/7/1 5 */ 6 #include<iostream> 7 #include<stdio.h> 8 int num[100]; 9 using namespace std; 10 11 int getMix(int left,int ri ...
分类:
编程语言 时间:
2020-08-27 17:06:03
阅读次数:
59
二叉树节点函数定义: /** * Definition for a binary tree node. */ function TreeNode(val){ this.val = val; this.left = this.right = null; } 层次遍历构建二叉树(广度优先) functi ...
分类:
其他好文 时间:
2020-08-26 18:35:16
阅读次数:
74
情况一:前端写表格 代码: <template> <el-table-column header-align="center" align="center" label="单据编号" prop="statementBaseNo"> <template slot-scope="scope"> <el- ...
分类:
其他好文 时间:
2020-08-24 16:54:25
阅读次数:
58
方法一:靠浮动 ######使用浮动,先渲染左右两个元素,分别让他们左右浮动,然后再渲染中间元素,设置它的margin左右边距分别为左右两个元素的宽度。 html部分(注意:此方法中间元素必须放在最后位置!) <div class="container"> <div class="left"></d ...
分类:
Web程序 时间:
2020-08-24 16:36:30
阅读次数:
60
根据老师表(teacher),老师任课关系表(teacher2class),课程表(class),通过表连接,得到老师的任课结构表,如下: select t.id, t.name, c.title from teacher t left join teacher2class t2c on t.id ...
分类:
数据库 时间:
2020-08-24 15:13:06
阅读次数:
132
在前端开发过程中,非IE浏览器下,当容器的高度自动,并且容器内容中有浮动元素(float为left或right),此时如果容器的高度不能自适应内容的高度,从而使得内容溢出破坏整体布局,这种现象叫做浮动溢出,为了方式这个现象的发生,就需要对CSS样式进行处理,而这个过程就叫做CSS清除浮动。现在常用的 ...
分类:
Web程序 时间:
2020-08-20 19:24:01
阅读次数:
134