The CSS HandbookThe CSS Handbook Conclusion 2 Preface The CSS Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. In particular, the goal is to get you up to speed quickly with CSS. This Enjoy! 3 The CSS Handbook 1. Preface 2. Introduction to CSS 2.1. How does CSS look like 2.2. Semicolons 2.3. Formatting and indentation 3. A brief history of CSS 4. Adding CSS to an HTML page with a CSS Variable value using JavaScript 19.5. Handling invalid values 19.6. Browser support 19.7. CSS Variables are case sensitive 19.8. Math in CSS Variables 5 19.9. Media queries with CSS Variables0 码力 | 184 页 | 1.96 MB | 1 年前3
前端开发者指南(2017)学习域名系统(又叫 DNS) 学习 HTTP/Networks(包括 CORS 和 WebSockets) 学习网页寄存(通称虚拟主机) 学习前端开发 学习用户界面/交互设计 学习 HTML 和 CSS 学习搜索引擎优化 学习 JavaScript 学习 Web 动画 学习 DOM、BOM 和 jQuery 学习网页字体 & 图标 2 1.6.1.14 1.6.1.15 1.6.1 1.7.31 1.7.32 1.7.33 1.7.34 1.7.35 1.7.36 1.7.37 HTTP / 网络工具 代码编辑工具 浏览器上的神兵利器 HTML 工具 CSS 工具 DOM 工具 JavaScript 工具 静态网页构建工具 无障碍访问工具 应用程序框架工具(台式机、手机、平板电脑等) 渐进式 Web 应用工具 脚手架工具 常规前端开发工具 笔者有意将本书打造为一份专业资料,为想要或正在实践的前端开发者们提供学习材料和开 发工具。其次,它同样可供主管、CTO、讲师和猎头们深入探索前端开发实践。 本书内容偏向于 WEB 技术(HTML、CSS、DOM、JavaScript)和以这些技术为根基直接构 建而成的开源技术。书中引用和讨论的材料要么就是同类翘楚,要么就是解决问题的流行方 案。 本书不是一本囊括所有前端可用资源的综合纲领。其价值在于为恰好够用的分类信息搜罗简0 码力 | 164 页 | 6.43 MB | 1 年前3
Learning GulpLoading All The Plugins from Package.JSON 11 Note 11 NOTE 12 Installing Plugins for Responsive images|Css Minification|Js minification 12 Image processing plugins 12 Asset optimizer plugins 13 Anatomy of Tasks 19 Chapter 4: Concatenating files 21 Examples 21 Concat all css files into one using gulp-concat 21 Concat and Uglify JS and CSS files 21 Chapter 5: Create a watcher 23 Examples 23 Watcher task Examples 28 Installation and usage 28 Chapter 10: Minifying CSS 30 Examples 30 Using gulp-clean-css and gulp-rename 30 Sass and Css - Preprocessing with Gulp 30 Chapter 11: Minifying HTML 32 Examples0 码力 | 45 页 | 977.19 KB | 1 年前3
Gulp 入门指南com/nimojs/gulp-book gulp 是基于 node 实现 Web 前端自动化开发的工具,利用它能够极大的提高开发效率。 在 Web 前端开发工作中有很多“重复工作”,比如压缩CSS/JS文件。而这些工作都是有规律的。找到这 些规律,并编写 gulp 配置代码,让 gulp 自动执行这些“重复工作”。 将规律转换为 gulp 代码 现有目录结构如下: └── js/ 你还可以监控 js/ 目录下的 js 文件,当某个文件被修改时,自动压缩修改文件。启动 gulp 后就可以让它 帮助你自动构建 Web 项目。 gulp 还可以做很多事,例如: 1. 压缩CSS 2. 压缩图片 3. 编译Sass/LESS 4. 编译CoffeeScript 5. markdown 转换为 html gulp 入门指南 - 2 - 本文档使用 看云 构建 安装 使用 gulp 压缩 CSS 压缩 css 代码可降低 css 文件大小,提高页面打开速度。 我们接着将规律转换为 gulp 代码 规律 找到 css/ 目录下的所有 css 文件,压缩它们,将压缩后的文件存放在 dist/css/ 目录下。 gulp 代码 你可以 下载所有示例代码 或 在线查看代码 当熟悉 使用 gulp 压缩 JS 的方法后,配置压缩 CSS 的 gulp 代码就变得很轻松。0 码力 | 36 页 | 275.87 KB | 1 年前3
Angular 8 - Reviewedof concepts given in this tutorial, we assume that the readers have the basic knowledge on HTML, CSS and OOPS concepts. In addition to this, it will be very helpful, if the readers have a sound knowledge follows: | favicon.ico | index.html | main.ts | polyfills.ts | styles.css | +---app | app.component.css | app.component.html | app.component.spec.ts | app.component contains the startup code. index.html is the application base HTML code. styles.css is the base CSS code. app folder contains the Angular application code, which will be learn elaborately0 码力 | 231 页 | 4.00 MB | 1 年前3
The HTML Handbook
changes from back then. Sure, we got more semantic tags, presentational HTML is no longer a thing, and CSS has taken care of the design of things. 7 HTML's success is based on one thing: simplicity. It resisted here is this: there is no such thing (any more) as an HTML version now. It's a living standard. Like CSS, which is called "3", but in reality is a bunch of independent modules developed separately. Like as how a list renders or how a link is underlined in blue. Some other rules are set by you with CSS. HTML is not presentational. It's not concerned with how things look. Instead, it's concerned with0 码力 | 74 页 | 901.54 KB | 1 年前3
廖雪峰JavaScript教程在操作一个DOM节点前,我们需要通过各种方式先拿到这个DOM节点。最常用的方法 是 document.getElementById() 和 document.getElementsByTagName() ,以及CSS选择 器 document.getElementsByClassName() 。 由于ID在HTML文档中是唯一的,所以 document.getElementById() 可以直接定位唯一的一个DOM节 innerText 不返回隐藏元素的文本,而 textContent 返回所有文 本。另外注意IE<9不支持 textContent 。 修改CSS也是经常需要的操作。DOM节点的 style 属性对应所有的CSS,可以直接获取或设置。因为 CSS允许 font-size 这样的名称,但它并非JavaScript有效的属性名,所以需要在JavaScript中 改写为驼峰式命名 fontSize 2.1 更新DOM - 134 - 本文档使用 书栈(BookStack.CN) 构建 2. var p = document.getElementById('p-id'); 3. // 设置CSS: 4. p.style.color = '#ff0000'; 5. p.style.fontSize = '20px'; 6. p.style.paddingTop = '2em'; 有如下的HTML结构:0 码力 | 264 页 | 2.81 MB | 10 月前3
[试读] Angular 5 高级编程48 3.6 本章小结...................................50 Angular 5 高级编程(第 2 版) VIII 第 4 章 HTML 和 CSS 入门................. 51 4.1 准备示例项目...........................51 4.2 理解 HTML .................. 12.3.1 使用标准属性绑定........239 12.3.2 使用字符串插入绑定.....241 12.3.3 使用元素属性绑定........242 12.4 设置 CSS 类和样式..............244 12.4.1 使用类绑定..................244 12.4.2 使用样式绑定...............248 12 28.5.1 在可重用分组中定义 公共样式......................704 28.5.2 使用元素变形...............705 28.5.3 应用 CSS 框架样式........707 28.6 理解动画触发器事件............709 28.7 小结.......................................7120 码力 | 42 页 | 6.14 MB | 1 年前3
前终端统⼀一⽅方案Hippy-Vue 设计和实现Hippy-Vue 特性 同样的 div 浏览器器⾥里里⽀支持的背景图样式 Hippy-Vue 同样⽀支持 跟浏览器器⼀一样通过 overflow 样式 确定滚动⽅方向 Hippy-Vue 特性 CSS display 参数⽀支持 none 值 v-show 照样使⽤用 Hippy-Vue 特性 textarea 跟浏览器器⼀一模⼀一样 v-model 直接⽤用来做数据绑定 Emoji ⽀支持没问题 Document/Element/ Text… CSS Matcher RegExp Runtime template/script/style vue-plugin Compiler CSS AST hippy-vue-css- loader CSS Selector Apply the styles Console Global JavasSript Virtual DOM CSS Reverse Selector uri: "http://www.qq.com/logo.png", }, }, } HTML Hippy Buffer 样式 CSS Matcher RegExp CSS AST hippy-vue-css- loader CSS Reverse Selector Apply styles to DOM #id { color: red } #id .class { background-color:0 码力 | 19 页 | 556.32 KB | 1 年前3
Vue.js v3.0 教程(Vue3 教程)之前对它有更多了解,我们制作了一个视频,带你了解其核心概念和一个示 例工程。 如果你已经是有经验的前端开发者,想知道 Vue 与其它库/框架有哪些区别,请查看对比其它框架。 安装 TIP 官方指南假设你已了解关于 HTML、CSS 和 JavaScript 的中级知识。如果你刚开始学习前端开 发,将框架作为你的第一步可能不是最好的主意——掌握好基础知识再来吧!之前有其它框架的使用经验 会有帮助,但这不是必需的 尝试 Vue component 7. ` 8. }) 你可以在非 prop Attribute 小节了解更多关于组件属性继承的信息。 :style 的对象语法十分直观——看着非常像 CSS,但其实是一个 JavaScript 对象。CSS property 名可以用驼峰式 (camelCase) 或短横线分隔 (kebab-case,记得用引号括起来) 来 命名: 1. 在 :style 中使用需要 (浏览器引擎前缀) vendor prefixes (opens new window) 的 CSS property 时,如 transform ,Vue 将自动侦测并添加相应的前缀。 可以为 style 绑定中的 property 提供一个包含多个值的数组,常用于提供多个带前缀的值,例 如:0 码力 | 368 页 | 3.97 MB | 1 年前3
共 63 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













