- 博客(9)
- 收藏
- 关注
转载 android button的使用
private Button btn_download; private Button btn_cancel; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main)...
2018-04-10 16:53:56 167
转载 reset.css
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr...
2018-04-08 15:53:30 371
转载 clearfix 解决高度塌陷/分离父子元素外边距
.clearfix:before, .clerafix:after{ content: ""; display: block; clear: both; }
2018-04-08 09:25:13 209
转载 解决高度塌陷的一种推荐方法
div:after{ display: block; content: ""; clear: both; }IE6不支持after伪类需要添加代码:div{ zoom:1 }
2018-04-03 10:20:41 197
转载 CSS首行缩进 文本对齐方式
text-indent:2em;text-align:justify;//两端对齐text-align:left right center
2018-04-02 09:11:46 1554
转载 行间距CSS
line-height:40px;通过设置行高来控制行间距还可以设置百分数line-height:200%;设置倍数line-height:2;
2018-03-30 17:25:32 3115
转载 font-style font-weight font-variant
italic 斜体normal 正常oblique 倾斜斜体和倾斜大部分一样一般使用italicfont-weight:boldfont-weight:100; //100-900 font-variant:normal;font-variant:small-caps; 文本以小型大写字母表示所有字母均为大写,小写字母比大写字母小...
2018-03-30 16:56:13 184
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人