首页 软件开发 代码片段 ( Page 61 )

代码片段 8064

#CSS
CSS3中的阴影文字代码

text-shadow: 0 1px 0 rgba(255,255,255,.50); 或者 text-shadow: 1px 1px 0 #FFFFFF; 具体参数可以按照自己喜…

css
2015-12-14 187

#CSS
Html+CSS3技术实现动画、天气图标动态效果 效果很酷

<svg version="1.1" id="sun" class="climacon climacon_sun" xmlns="http://www.w3.org/2000…

css
2015-12-14 848

#CSS
获取新浪天气PHP代码 打造博客侧边栏天气http://www.newsky365.com/

<?php // 复杂获取本地ip地址www.newsky365.com /* if (getenv('HTTP_CLIENT_IP') && strcase…

css
2015-12-14 428

#CSS
LESS – 截断文本并显示省略号的混入类

.ellipsis() { overflow: hidden; white-space: nowrap; text-overflow: -o-ellipsis-lastline; …

css
2015-12-14 377

#Groovy
使用groovy插件保存ci的状态文件

/** * @author petert * @since V1.0 * To save all logs into file if status is not success *…

2015-12-14 382

#Groovy
groovy grails 动态方法一例

//定义一个类 class GlobalService{ def grailsApplication def propertyMissing(String name){ grail…

2015-12-14 256

#Groovy
处理二进制文件

//---------------------------------------------------------------------------------- // Ja…

2015-12-14 372

#Groovy
gorm批量删除

def batchDelete(Class entityClass,ids){ entityClass.executeUpdate("delete ${entityClass.na…

2015-12-14 355

#Groovy
groovy读取类的函数签名的脚本

if (args) { def className = args[0] def theClass = Class.forName(className) def theMetaCla…

2015-12-14 784

#Lua
Lua闭包

function fuck() local i = 0 return function() i = i + 1 return i end end c1 = fuck() print…

lua
2015-12-14 807

#Lua
自动生成APK包

-- Authors: sails鸢@oschina -- Date: 20th , August , 2014 -- Note: -- This is used for Coco…

lua
2015-12-14 804
1 59 60 61 62 63 672