Pro HTML5 and CSS3 Design Patterns
出版信息
Michael Bowers / Apress / 2011-11-15 / GBP 35.50
内容简介
Pro HTML5 and CSS3 Design Patterns is a reference book and a cookbook on how to style web pages using CSS3 and HTML5. It contains 350 ready--to--use patterns (CSS3 and HTML5 code snippets) that you can copy and paste into your code. Each pattern can be combined with other patterns to create an unlimited number of solutions, and each pattern works reliably in all major browsers without the need for browser hacks. The book is completely up-to-date with code, best practices, and browser compatibilities for HTML5 and CSS3--enabling you to dive in and make use of these new technologies in production environments. Pro HTML5 and CSS3 Design Patterns is so much more than just a cookbook, though! It systematically covers every usable feature of CSS3 and combines these features with HTML5 to create reusable patterns. Each pattern has an intuitive name to make it easy to find, remember, and refer to. Accessibility and best practices are carefully engineered into each design pattern, example, and source code. The book's layout, with a pattern's example on the left page and its explanation on the right, makes it easy to find a pattern and study it without having to flip between pages. The book is also readable from cover to cover, with topics building carefully upon previous topics. Pro HTML5 and CSS3 Design Patterns book unleashes your productivity and creativity in web design and development. Instead of hacking your way toward a solution, you'll learn how to predictably create successful designs every time by reusing and combining modular design patterns. What you'll learn * Code CSS3 and HTML5 * Use CSS3 Selectors * Use six CSS3 Box Models * Create rounded corners, shadows, gradients, sprites, and transparency * Replace text with images without affecting accessibility * Style text with fonts, highlights, decorations, and shadows * Create flexible, fluid layouts * Position elements with absolute pixel precision * Stack elements in layers * Size, stretch, shrinkwrap, indent, align, and offset elements * Style tables with borders and alternating striped rows * Size table columns automatically * Integrate CSS3 and JavaScript without embedding JavaScript in HTML5 * Create drop caps, callouts, quotes, and alerts Who this book is for A software developer can use this book to learn CSS3 for the first time. A designer familiar with CSS3 can use this book to master CSS3 and HTML5. If you are completely new to coding or completely new to CSS3 and HTML5, you may want to read an introductory book on CSS3 and HTML5 first. Table of Contents * Design Patterns: Making CSS 3 Easy! * HTML Design Patterns * CSS Selectors and Inheritance * Box Models * Box Model Extents * Box Model Properties * Positioning Models * Positioning: Indented, Offset, and Aligned * Positioning: Advanced * Styling Text * Spacing Content * Aligning Content * Blocks * Images * Tables * Table Column Layouts * Layouts * Dropcaps * Callouts and Quotes * Alerts
作者简介
Michael Bowers
有22年编程生涯的老牌程序员。他从14岁那年就开始自学编程,并一直勤奋不辍。
现在他的身份是首席工程师和企业信息技术架构师。他曾在很多项目中担当过程序员、架构师以及数据建模师等角色,在开发网站、构建应用程序架构和数据库系统方面有丰富的经验。除了开发过Web应用程序、集成企业信息系统、构建工厂自动化方案之外,他还开发过编程语言、编译器及解释器,并且还管理过软件团队。他最喜欢的编程语言包括:CSS、HTML、XML、C#、C++、Visual Basic、Java、JavaScript、SQL及XQuery。
另外,Michael在钢琴上的造诣颇深。他拥有作曲专业的学士学位、乐理专业的硕士及准博士学位(ABD PhD)。闲暇时,他喜欢即兴演奏、编排音乐并谱曲。
Dionysios Synodinos
C4Media的研究平台团队主管,同时还是一位自由顾问,关注互联网富应用程序、Web应用程序安全性、移动Web以及Web服务等。
他还是InfoQ的HTML5及JavaScript方向的首席编辑,定期在网站上撰写一些有关JVM平台的文章。
游走于服务器端编程与UI设计10余年,他参与过不同的软件项目,并且参与编写过多部技术书籍。
Victor Sumner
LookSmart公司的高级软件工程师。作为一位自学的Web程序开发者,在一款Web程序的生命周期中,他要担负很多角色,从数据库管理员到Web设计师,所有的工作他都做过。他喜欢挑战并解决棘手的问题。
他有很多业余爱好,包括摄影、骑马、玩电子游戏等。他和妻子Alicia一起住在加拿大的安大略省。