text-shadow是给文本添加阴影效果,box-shadow是给元素块添加周边阴影效果。随着html5和CSS3的普及,这一特殊效果使用越来越普遍。 基本语法是{box-shadow:[inset] x-offset y-offset blur-radius spread-radiuscolor ...
分类:
Web程序 时间:
2016-08-09 13:34:43
阅读次数:
210
题目链接:http://lightoj.com/volume_showproblem.php?problem=1067 模板求C(n,m)%p, Lucas模板; ...
分类:
其他好文 时间:
2016-08-07 19:59:28
阅读次数:
167
文本阴影text-shadow属性特效: 1.右下角阴影,左下角阴影,左上角阴影,右上角阴影 文字效果为: 如果将text-shadow改成:text-shadow:-10px 10px #333 ,就将出现左下角阴影 将text-shadow改成:text-shadow:-10px -10px # ...
分类:
Web程序 时间:
2016-08-07 18:23:01
阅读次数:
1279
Getting short volume from BATS In my last post I have gone through the steps needed to get the short volume data from the BATS exchange. The code prov ...
分类:
其他好文 时间:
2016-08-07 17:01:24
阅读次数:
193
Building an indicator from short volume data Price of an asset or an ETF is of course the best indicator there is, but unfortunately there is only onl ...
分类:
其他好文 时间:
2016-08-07 16:52:33
阅读次数:
204
Halloween Costumes 题目链接: http://lightoj.com/volume_showproblem.php?problem=1422 题意: Gappu想要去参加一些party,他去每个party都要把特定编号的服装穿在外边,他可以穿上或者脱掉服装(脱掉的服装不能再穿一次, ...
分类:
其他好文 时间:
2016-08-07 15:13:42
阅读次数:
190
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> canvas { box-shadow: 0 0 10px greenyellow; } </style> </h ...
分类:
其他好文 时间:
2016-08-06 15:44:24
阅读次数:
220
一、drop-shadow阴影 给图片加阴影效果,效果如下图所示: 代码: #gray{ -webkit-filter:drop-shadow(5px 5px 5px green); } 二、blur模糊 给图片加模糊效果,改变图片清晰度,效果如下图所示: 代码: #gray{-webkit-fil ...
分类:
Web程序 时间:
2016-08-06 13:07:00
阅读次数:
258
题目链接:http://lightoj.com/volume_showproblem.php?problem=1128 给你一颗树,树的每个节点都有一个权值,树根是节点0,权值为1,树中每个节点的权值都是大于父节点的权值的; 然后给出每个节点的父节点以及该节点的权值;有Q个询问,每个询问有两个数u和 ...
分类:
编程语言 时间:
2016-08-06 11:18:49
阅读次数:
267
今天,发现用CSS可以做出很漂亮的针线包样式的边框(有点类似border的dashed样式), 先放效果图: 很漂亮吧,其实,主要CSS就是 给 border-style:dashed 加上 box-shadow ,再用 border-radius 修饰一下,选个漂亮的颜色就能设计出较好的边框啦! ...
分类:
Web程序 时间:
2016-08-05 23:03:09
阅读次数:
211