<style> body{ margin:0; } #box{ height:200px; border:1px solid #000; 新版弹性盒模型 /*display:flex;*/ /*flex-direction:row;*/ 设置主轴方向为水平方向 /*flex-direction:co ...
分类:
其他好文 时间:
2018-10-02 14:22:49
阅读次数:
157
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title></head><style type="text/css"> .img{ width:1200px; height:300px; border:1px solid re ...
分类:
Web程序 时间:
2018-09-30 14:58:39
阅读次数:
234
.parent { width:800px; height:500px; border:2px solid #000; display:flex; justify-content:center; align-items:center; } .child { width:200px; height:2 ...
分类:
其他好文 时间:
2018-09-24 00:53:16
阅读次数:
238
设计模式总共有六大基本原则,统称为SOLID (稳定)原则,分别是S-单一职责原则(Single Responsibility Principle), O-开闭原则(Open closed Principle),L-里氏替换原则(Liskov Substitution Principle),L-迪米 ...
分类:
其他好文 时间:
2018-09-23 13:50:02
阅读次数:
204
盒模型 1.属性:width :内容的宽度 书写内容的宽度 height:内容的高度 书写内容的宽度 padding:内边框 内容到边框的距离 可以有 background-color border:边框 可以显示颜色 就是比作一个门框 border: 10px solid green; margi ...
分类:
Web程序 时间:
2018-09-18 18:59:38
阅读次数:
207
恢复内容开始 1.盒子 边框 border-top-width: 10px; 宽度 border-top-style: solid/dashed/dotted; 实线 虚线 点线 border-top-color: red; 颜色 border-top: 10px solid red; 宽 线 色 ...
分类:
Web程序 时间:
2018-09-12 11:15:57
阅读次数:
422
html部分 <div class="triangle"></div> css部分 .triangle{ width: 0; height: 0; border-left:50px solid blue; border-right:50px solid green; border-top:50px ...
分类:
Web程序 时间:
2018-09-11 14:17:22
阅读次数:
199
div { border-style: solid; border-width: 2px; border-color: red; } border-width 长度值 设置边框的宽度,可选 1 border-style 样式名称 设置边框的样式,必选 1 border-color 颜色值 设置边框的 ...
分类:
其他好文 时间:
2018-09-08 22:41:55
阅读次数:
265
.pdfobject container { height: 700px;} .pdfobject { border: 1px solid 666; } .margins { height: 700px;} PDFObject.embed("/files/mjtcn/statement_en.pdf ...
分类:
其他好文 时间:
2018-09-06 20:03:34
阅读次数:
107
<问题> <button type="button" style="height: 29px; float: left; width: 18%; border: none; border-left: 1px solid #d07878; border-radius: 0 4px 5px 0; pad ...
分类:
其他好文 时间:
2018-09-05 17:31:56
阅读次数:
157