.bg{ background-size: cover;background-image:url(../assets/images/sunshine.png);background-repeat:no-repeat;background-position:center;background-atta ...
分类:
其他好文 时间:
2017-07-08 12:22:20
阅读次数:
118
1 body{ 2 height:100%; 3 overflow:hidden; 4 } 5 .bg { 6 background-image: url(../../img/beijing.jpg); 7 width:100%; 8 height:100%; 9 background-size:1... ...
分类:
Web程序 时间:
2017-07-03 16:33:29
阅读次数:
188
http://files.cnblogs.com/files/theWayToAce/iconfont-bg.rar ...
分类:
其他好文 时间:
2017-07-03 14:12:24
阅读次数:
99
body{ height:100%; overflow:hidden;} .bg { background-image: url(../../img/beijing.jpg); width:100%; height:100%; background-size:100% 100%; position: ...
分类:
Web程序 时间:
2017-07-03 13:55:59
阅读次数:
253
public ActionResult HeCheng(string name) { string imgFullPath = HttpContext.Server.MapPath("~/images/djq_bg.jpg"); string imgFullPathwx = HttpContext. ...
分类:
其他好文 时间:
2017-07-03 13:53:48
阅读次数:
1958
fg、bg、jobs、&、nohup、ctrl+z、ctrl+c 命令 一、& 加在一个命令的最后,可以把这个命令放到后台执行,如 watch -n 10 sh test.sh & #每10s在后台执行一次test.sh脚本 二、ctrl + z 可以将一个正在前台执行的命令放到后台,并且处于暂停状 ...
分类:
系统相关 时间:
2017-06-30 13:45:58
阅读次数:
139
<style type="text/css"> #box{position: relative; width: 200px; height: 50px; border: 1px solid #eee; margin: 50px auto 0;} #bg{height: 10px; margin-to ...
分类:
其他好文 时间:
2017-06-18 10:29:55
阅读次数:
201
以LinearLayout为例,它提供的background属性将会将背景图片拉伸,相当难看。其实我们仅仅需做少量的改动就能够实现web编程中css背景图片的效果。来试试吧。 创建反复的背景图片 在drawable文件夹下创建一个repeat_bg.xml: <?xml version="1.0" ...
分类:
移动开发 时间:
2017-06-17 20:47:07
阅读次数:
242
本片文章将简单的采用input[type=checkbox]跟css3来实现switch开关的效果,效果图如下: html代码: <div class="bg_con"> <input id="checkSwitch" type="checkbox" checked="true" class="sw ...
分类:
Web程序 时间:
2017-06-16 14:17:08
阅读次数:
753
给View控件设置边框,可以动态设置上下左右.通过布局文件就能搞定 1.在drawable文件夹下新建一个shape_main_list_bg.xml文件 <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > ...
分类:
移动开发 时间:
2017-06-14 22:28:04
阅读次数:
294