上一页 1 ··· 15 16 17 18 19
摘要: WebStorm 是 JetBrains 推出的一款商业的 JavaScript 开发工具 任何一个编辑器都需要保存(ctrl + s),这是所有win平台上编辑类软件的特点,但是webstorm编辑文件右上角是没有那个熟悉的 * 的。好处:省去了ctrl + s之后,在结合Firefox的vim, 阅读全文
posted @ 2016-08-03 11:28 Milk.╮ 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 一、什么是SASS SASS是一种CSS的开发工具,提供了许多便利的写法,大大节省了设计者的时间,使得CSS的开发,变得简单和可维护。 本文总结了SASS的主要用法。我的目标是,有了这篇文章,日常的一般使用就不需要去看官方文档了。 二、安装和使用 2.1 安装 SASS是Ruby语言写的,但是两者的 阅读全文
posted @ 2016-08-02 10:47 Milk.╮ 阅读(136) 评论(0) 推荐(0) 编辑
摘要: css不是一种编程语言,可以用它开发网页样式,但是没法编程。也就是说,CSS基本上是设计师的工具,不是程序员的工具。在程序员眼里,CSS是一件很麻烦的东西。它没有变量,也没有条件语句,只是一行行单纯的描述,写起来相当费事。有人就开始为CSS加入编程元素,这被叫做"CSS预处理器"(css prepr 阅读全文
posted @ 2016-08-02 10:46 Milk.╮ 阅读(227) 评论(0) 推荐(0) 编辑
摘要: <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #box{ position: relative; } span{ position: absolute; border: 8px solid #fff; bo 阅读全文
posted @ 2016-07-30 19:28 Milk.╮ 阅读(245) 评论(0) 推荐(0) 编辑
摘要: <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #box{ position: relative; width: 100px; margin: 100px auto 0; } span{ position: 阅读全文
posted @ 2016-07-30 17:09 Milk.╮ 阅读(825) 评论(0) 推荐(0) 编辑
摘要: <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #box{ width: 400px; height: 400px; margin: 100px auto 0; position: relative; } s 阅读全文
posted @ 2016-07-30 16:46 Milk.╮ 阅读(358) 评论(0) 推荐(0) 编辑
摘要: <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #box{ position: relative; } span{ position: absolute; width: 30px; height: 30px; 阅读全文
posted @ 2016-07-30 16:03 Milk.╮ 阅读(221) 评论(0) 推荐(0) 编辑
摘要: <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .quan{ position: relative; border: 4px solid rgba(255,255,255,.25); width: 80px; 阅读全文
posted @ 2016-07-30 15:51 Milk.╮ 阅读(572) 评论(0) 推荐(0) 编辑
摘要: <body> <div id="box"> <!--Select下拉框onchange事件获取option的value值--> <select name="" id="sheng" style="width: 100px;" onchange="ch(this)"> <option value="" 阅读全文
posted @ 2016-07-30 10:08 Milk.╮ 阅读(269) 评论(0) 推荐(0) 编辑
摘要: window.location = "http://www.baidu.com" 跳转后有后退功能 window.location.replace("http://www.baidu.com") 跳转后没有后退功能 window.open("http://www.baidu.com") 要新的窗口打 阅读全文
posted @ 2016-07-30 10:07 Milk.╮ 阅读(170) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19