21
2018
05

margin标记可以带一个、二个、三个、四个参数,各有不同的含义。

margin标记可以带一个、二个、三个、四个参数,各有不同的含义。

margin: 20px;(上、下、左、右各20px。)
margin: 20px 40px;(上、下20px;左、右40px。)
margin: 20px 40px 60px;(上20px;左、右40px;下60px。)
margin: 20px 40px 60px 80px;(上20px;右40px;下60px;左80px。)

在css中使用margin可以将margin-top,margin-right,margin-bottom,margin-left,缩写为一个标记,顺序为上右下左(顺时针)。

18
2018
05

宝塔win面板2008server,ii7下安装PHP扩展之Imagick安装,真正可以用的方案

https://blog.csdn.net/mengke1124/article/details/80256394


最近的PHP项目中,需要用到切图和缩图的效果,在本地windows开发环境,安装过程遇到好多问题,在此与大家分享。

15
2018
05

推送模板消息可以换行的方式

'推送发货通知---------------------------------------------

userID = rf("userID")

wx_add = rf("wx_add")

wl_gs = rf("wl_gs")

wl_dh = rf("wl_dh")

openid = rf("openid")

hyname = rf("hyname")

14
2018
05

css背景颜色过度效果,还可以用于提交按钮submit

.submit{ float:left; background:linear-gradient(to right,#fd9403,#fe593d); width:20%; height:40px; margin-left:3%; border-radius:6px; margin-top:5px; text-align:center; line-height:40px; color:#fff;}

12
2018
05

Box Shadow(阴影)-Css3背景阴影效果

http://www.css88.com/tool/css3Preview/Box-Shadow.html


带阴影效果,可以调透明度

-moz-box-shadow:0px 0px 15px rgba(0, 0, 0, 0.3); -webkit-box-shadow:0px 0px 15px rgba(0, 0, 0, 0.3); box-shadow:0px 0px 15px rgba(0, 0, 0, 0.3);

11
2018
05

微信推送模板消息

{{first.DATA}}

用户名称:{{keyword1.DATA}}

联系电话:{{keyword2.DATA}}

产品型号:{{keyword3.DATA}}

用户地址:{{keyword4.DATA}}

购买日期:{{keyword5.DATA}}

其他备注:{{keyword6.DATA}}

{{remark.DATA}}




10
2018
05

css图片背景百分百显示出来

background:#4790fd url(../images/ifoot.jpg) no-repeat; background-size:100%;

03
2018
05

【CSS】单行图片与文字垂直居中

单行图片与文字垂直居中核心关键,是在img标签中的style属性加入vertical-align:middle;样式

03
2018
05

css自动省略字多的标题

/*首页新闻自动省略字多的标题start*/

.syl_list {width:260px;}

.syl_list ul li{height:30px; line-height:30px; font-size:14px;}

.syl_list ul li+li{border-top:1px dashed #614d46;}

.syl_list ul li a{color:#e8892d; background: url(../images/index_icon4.jpg) 3px center no-repeat; padding-left:20px; display:block; overflow:hidden; white-space:nowrap; -ms-text-overflow:ellipsis; text-overflow:ellipsis;}

26
2018
04

asp实现html伪静态竟然那么简单

1.单参数

功能:

把:www.44721.cn/movie.asp?id=123

伪静态为:www.44721.cn/movie.asp?123.html

 

代码如下: 

 

ASP/Visual Basic代码

<% 

id=request.QueryString("id") 

If id="" Then