一些好用的css和js

10 篇文章 0 订阅

Loaders.css

Loaders.css是一个为性能优化的实现加载动画效果的 CSS 框架,仅用CSS样式就能实现一个loading动画效果。在CSS中这是一个用于编写加载动画的集合;其中每个动画被限制为CSS属性的一小部分,以避免昂贵的绘制和布局计算。

用法

首先,引入 loaders.min.cssloaders.css.js,这个JS只是为了简化动画的DIV标签,如果不加这个JS,那么你的动画就必须加上对应数量DIV标签才能正常显示动画,所以建议加上,这样语义化好会好些。

<link rel="stylesheet" type="text/css" href="loaders.min.css">
<script type="text/javascript" src="loaders.css.js"></script>

其次,加入页面代码,给loading元素加入动画class

<div class="loader-inner ball-pulse"></div>

还可以改变loading的颜色

.ball-grid-pulse > div {
     background: blue;
}

浏览器兼容性


  • IE 9+
  • Firefox 36
  • Chrome 41
  • Safari 8

Download click me

Animated text fills with CSS and SVG

使用这个FreeCode的虚线描边模式来创建SVG文本,对于Web开发员来说,这是非常有用的。
Demo click me
Download click me

Responsive Tabbed Navigation

这是便捷的响应式标签导航,for Mobile or PC,支持横向纵向菜单定位,使用 CSS* jQuery* 创建。这使得你能很容易地添加CSS标签导航元素到你的网站设计中。
Demo click me
Download click me

jeet

这个网站进入比较蛋疼,薛微有点慢,但是jeet很in,是很有用的css栅格系统.
Demo消失在了黑洞中…
Download消失在了太阳系…

Hover Effect Ideas

这是一个超级炫酷的悬停效果集合 墙裂推荐!!!!!
Demo click me
Download click me

Simple Stack Effects

一个简单的堆叠效果集合。其主要思路就是开始显示一个项目,然后通过触发某个事件,从而显示更多的项目。主要用在图片显示,当然脑洞大的可以花样更多.
Demo click me
Download click me

Subtle Click Feedback Effects

主要用于移动端的点击或交互触摸屏幕可视化的微妙效果集合,这些效果大多由CSS动画的伪元素完成的。
Demo click me
Download click me

Drag and Drop Interaction Ideas

拖动!各种拖动效果!放置的层面也是多样的!
Demo click me
Download click me

好用CSS,960 Grid System Version 1.5 2010-05-11 Created by Nathan Smith. See the official site for more info: http://960.gs/ ============================================================================ Thank you for downloading the 960 Grid System. I hope it helps to streamline web development workflow. Enclosed in the bundle are printable sketch sheets and template files for Adobe Fireworks and Photoshop, OmniGraffle and Visio. Also included is a lightweight CSS file, which contains the grid dimensions. To use this file, simply include the 960.css in the <head> of the HTML page. You may also use the reset.css and text.css files, or opt to leave them out. Here is an example of the XHTML code necessary to incorporate the CSS files: <head> <link rel="stylesheet" type="text/css" media="all" href="css/reset.css" /> <link rel="stylesheet" type="text/css" media="all" href="css/text.css" /> <link rel="stylesheet" type="text/css" media="all" href="css/960.css" /> </head> It is worth noting that these styles do not automatically make up a finished site design. They are simply a starting point, ideally for rapid prototyping or as a basis for creating your own designs. You should not feel constrained by the way I have built the initial code. If you disagree with how something has been done, feel free to revise it for the needs of your particular site. The files in the 960 Grid System are free of charge, licensed under GPL/MIT. ============================================================================ Note that if you are building a site in a language which reads from right to left, use the CSS files that begin with "rtl_" instead. Denote the language: <html lang="..." dir="rtl"> Be sure to replace "..." with the appropriate two-letter abbreviation of the language you are using. Example: lang="he" for Hebrew, lang="ar" for Arabic. ============================================================================ Special thanks to Eric Meyer for his comprehensive browser reset stylesheet. http://meyerweb.com/eric/tools/css/reset/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值