在好例子网,分享、交流、成长!
您当前所在位置:首页CSS 开发实例CSS基础 → Pragmatic.HTML5.and.CSS3.Dec.2010(含源码).zip

Pragmatic.HTML5.and.CSS3.Dec.2010(含源码).zip

CSS基础

下载此实例
  • 开发语言:CSS
  • 实例大小:45.75M
  • 下载次数:6
  • 浏览次数:98
  • 发布时间:2019-10-04
  • 实例类别:CSS基础
  • 发 布 人:robot666
  • 文件格式:.zip
  • 所需积分:2
 相关标签:

实例介绍

【实例简介】

【实例截图】

from clipboard


from clipboard

【核心代码】

Contents
Acknowledgments 8
Preface 10
HTML5: The Platform vs. the Specification . . . . . . . . . 10
How This Works . . . . . . . . . . . . . . . . . . . . . . . . . 11
What’s in This Book . . . . . . . . . . . . . . . . . . . . . . 12
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Online Resources . . . . . . . . . . . . . . . . . . . . . . . . 13
1 An Overview of HTML5 and CSS3 14
1.1 A Platform for Web Development . . . . . . . . . . 14
1.2 Backward Compatibility . . . . . . . . . . . . . . . 17
1.3 The Road to the Future Is Bumpy . . . . . . . . . 17
Part I—Improving User Interfaces 23
2 New Structural Tags and Attributes 24
Tip 1 Redefining a Blog Using Semantic Markup . . . . 27
Tip 2 Creating Pop-up Windows with Custom Data Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3 Creating User-Friendly Web Forms 45
Tip 3 Describing Data with New Input Fields . . . . . . 48
Tip 4 Jumping to the First Field with Autofocus . . . . . 56
Tip 5 Providing Hints with Placeholder Text . . . . . . . 58
CONTENTS 6
4 Making Better User Interfaces with CSS3 72
Tip 7 Styling Tables with Pseudoclasses . . . . . . . . . 74
Tip 8 Making Links Printable with :after and content . . 83
Tip 9 Creating Multicolumn Layouts . . . . . . . . . . . 87
Tip 10 Building Mobile Interfaces with Media Queries . . 94
5 Improving Accessibility 97
Tip 11 Providing Navigation Hints with ARIA Roles . . . . 99
Tip 12 Creating an Accessible Updatable Region . . . . . 104
Part II—New Sights and Sounds 110
6 Drawing on the Canvas 111
Tip 13 Drawing a Logo . . . . . . . . . . . . . . . . . . . . 112
Tip 14 Graphing Statistics with RGraph . . . . . . . . . . 119
7 Embedding Audio and Video 127
7.1 A Bit of History . . . . . . . . . . . . . . . . . . . . 128
7.2 Containers and Codecs . . . . . . . . . . . . . . . . 129
Tip 15 Working with Audio . . . . . . . . . . . . . . . . . . 133
Tip 16 Embedding Video . . . . . . . . . . . . . . . . . . . 137
8 Eye Candy 144
Tip 17 Rounding Rough Edges . . . . . . . . . . . . . . . 146
Tip 18 Working with Shadows, Gradients, and Transformations . . . . . . . . . . . . . . . . . . . . . . . . . 154
Tip 19 Using Real Fonts . . . . . . . . . . . . . . . . . . . 165
Part III—Beyond HTML5 171
9 Working with Client-Side Data 172
Tip 20 Saving Preferences with localStorage . . . . . . . . 175
Tip 21 Storing Data in a Client-Side Relational Database 181
Tip 22 Working Offline . . . . . . . . . . . . . . . . . . . . 193
10 Playing Nicely with Other APIs 196
Tip 23 Preserving History . . . . . . . . . . . . . . . . . . . 197
Tip 24 Talking Across Domains . . . . . . . . . . . . . . . 200
Tip 25 Chatting with Web Sockets . . . . . . . . . . . . . 207
Tip 26 Finding Yourself: Geolocation . . . . . . . . . . . . 214
Report erratum
www.WereBook.com this copy is (P1.0 printing, December 2010)
CONTENTS 7
11 Where to Go Next 218
11.1 CSS3 Transitions . . . . . . . . . . . . . . . . . . . 219
11.2 Web Workers . . . . . . . . . . . . . . . . . . . . . . 221
11.3 Native Drag-and-Drop Support . . . . . . . . . . . 223
11.4 WebGL . . . . . . . . . . . . . . . . . . . . . . . . . 229
11.5 Indexed Database API . . . . . . . . . . . . . . . . 229
11.6 Client-Side Form Validation . . . . . . . . . . . . . 230
11.7 Onward! . . . . . . . . . . . . . . . . . . . . . . . . 231
A Features Quick Reference 232
A.1 New Elements . . . . . . . . . . . . . . . . . . . . . 232
A.2 Attributes . . . . . . . . . . . . . . . . . . . . . . . 233
A.3 Forms . . . . . . . . . . . . . . . . . . . . . . . . . . 233
A.4 Form Field Attributes . . . . . . . . . . . . . . . . . 234
A.5 Accessibility . . . . . . . . . . . . . . . . . . . . . . 235
A.6 Multimedia . . . . . . . . . . . . . . . . . . . . . . . 235
A.7 CSS3 . . . . . . . . . . . . . . . . . . . . . . . . . . 235
A.8 Client-Side Storage . . . . . . . . . . . . . . . . . . 238
A.9 Additional APIs . . . . . . . . . . . . . . . . . . . . 238
B jQuery Primer 240
B.1 Loading jQuery . . . . . . . . . . . . . . . . . . . . 240
B.2 jQuery Basics . . . . . . . . . . . . . . . . . . . . . 241
B.3 Methods to Modify Content . . . . . . . . . . . . . 241
B.4 Creating Elements . . . . . . . . . . . . . . . . . . 244
B.5 Events . . . . . . . . . . . . . . . . . . . . . . . . . 244
B.6 Document Ready . . . . . . . . . . . . . . . . . . . 245
C Encoding Audio and Video 247
C.1 Encoding Audio . . . . . . . . . . . . . . . . . . . . 247
C.2 Encoding Video for the Web . . . . . . . . . . . . . 248
D Resources 249
D.1 Resources on the Web . . . . . . . . . . . . . . . . 249
E Bibliography 251
Index 252

标签:

实例下载地址

Pragmatic.HTML5.and.CSS3.Dec.2010(含源码).zip

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警