@import url(https://fonts.googleapis.com/css?family=Lato:900); *, *:before, *:after{ box-sizing:border-box; } body{ font-family: 'Lato', sans-serif; }... ...
分类:
其他好文 时间:
2017-08-20 18:19:37
阅读次数:
157
两种方法 一种是用background:rgba(0, 0, 0, 0.5),兼容性只支持IE8往上另一种方法使用透明度 要考虑IE8往下可以用这个: ...
分类:
其他好文 时间:
2017-08-18 23:41:22
阅读次数:
160
使用模板:darkgreentrip 1 #home { 2 margin: 0 auto; 3 width: 80%;/*原始65*/ 4 min-width: 980px;/*页面顶部的宽度*/ 5 background-color: rgba(245, 245, 245, 0.7); 6 pa ...
分类:
其他好文 时间:
2017-08-18 13:35:39
阅读次数:
206
<!doctype html>声明HTML版本编写指令 seo font-weight: 改变字体粗细 bold 变粗 100-800; opacity 设置元素的透明级别(0-1之间) |z-index:覆盖时 优先显示; rgba:可以设置标签属性背景的透明度; |overflow:hidden ...
分类:
Web程序 时间:
2017-08-16 19:13:31
阅读次数:
136
背景: background-color 背景色 background rgb(x,x,x) rgba(x,x,x,x) 最后一个是透明度 1为不透明 0为全透明 url(图片的相对路径) 不平铺 no-repeat background-image 背景图片 background-repeat 背 ...
分类:
其他好文 时间:
2017-08-16 00:53:54
阅读次数:
138
一、CSS3新特性,兼容性,兼容方法总结 边框 border-radius 用于添加圆角效果 语法: border-radius:[ <length> | <percentage> ]{1,4} [ / [ <length> | <percentage> ]{1,4} ]?<length>:用长度值 ...
分类:
其他好文 时间:
2017-08-07 00:25:57
阅读次数:
184
很多Web前端工程师肯定都会遇到过,在项目中,UI设计师跑来跟你说,我这个地方的表单控件需要设计成这个样子那个样子。但是用CSS却不能够修改这些控件的默认样式,于是乎,只能通过div+javascript技术来进行模拟。特别是在如今移动端的崛起时代,更加注重用户的体验。于是就更加需要这样一种hack ...
分类:
Web程序 时间:
2017-08-02 23:43:51
阅读次数:
346
.gradient { background: rgba(236,101,33,1); background: -moz-linear-gradient(90deg,rgba(236,101,33,1) 0,rgba(212,132,91,1) 100%); background: -webkit-... ...
分类:
其他好文 时间:
2017-08-02 16:26:49
阅读次数:
166
<!DOCTYPE><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>ToolTip效果</title> <style> body { font-size: 14px; l ...
分类:
Web程序 时间:
2017-07-31 15:46:54
阅读次数:
733
一、效果 1、html代码: 2、js代码: 3、css代码: ...
分类:
编程语言 时间:
2017-07-27 21:17:50
阅读次数:
196