没有合适的资源?快使用搜索试试~ 我知道了~
首页CSS: The Missing Manual, 4th Edition
CSS: The Missing Manual, 4th Edition
需积分: 10 55 浏览量
更新于2023-05-27
评论
收藏 18.48MB PDF 举报
本书从介绍最基本的CSS知识开始,到建立用于打印网页的CSS和改进你的CSS习惯的最佳实践。将关于CSS的选择器、继承、层叠、格式化、边距、填充、边框、图片、网站导航、表格、表单、浮动布局、定位网页上的元素,以及用于打印网页的CSS等技术通过逐步地讲解与教程串联了起来。每章内容从简单到复杂,一步一步地建立起一个完整的教程示例,并在每章都会详细讨论一些技巧、最佳实践和各浏览器之间一致性的兼容问题及如何进行修复,以及给出实际的解决办法来创建最佳展现效果的页面,在各章节的最后都给出了相应教程的详细操作步骤。并且介绍了最新的CSS 3特性及常见问题,最后还提供了完整的CSS属性参考、Dreamweaver CS4中的CSS及书中提到的相关CSS资源列表。 本书适合于刚刚接触CSS的朋友们阅读并亲自动手实践,具有HTML、XHTML和CSS基本知识但想创建更加完美的网页的设计人员,以及须要创建在各种不同的浏览器之间兼容并都能够达到同样展现效果的CSS专家们作为参考。
资源详情
资源评论
资源推荐

“The Missing Manual series is simply the most intelligent and usable series of guidebooks…”
—KEVIN KELLY, CO-FOUNDER OF
WIRED
David Sawyer McFarland
CSS
4th
Edition

David Sawyer McFarland
is a web developer,
teacher, and author.
He’s been building
websites since 1995,
when he designed
an online magazine
for communication
professionals. David has
taught web design at the
UC Berkeley Graduate
School of Journalism, the
Center for Electronic Art,
the Art Institute of
Portland, and Portland
State University. Currently,
he’s a Teaching Team
Leader at the online
education site, Treehouse
http://teamtreehouse.com.
Answers found here!
CSS lets you create professional websites, but learning
its finer points can be tricky—even for seasoned web
developers. This fully updated edition provides the most
modern and eective tips, tricks, and tutorial-based
instruction on CSS available today. Learn how to use new
tools such as Flexbox and Sass to build web pages that
look great and run fast on any desktop or mobile device.
Ideal for casual and experienced designers alike.
The important stu you need to know
n
Start with the basics. Write CSS-friendly HTML, including the
HTML5 tags recognized by today’s browsers.
n
Design for mobile devices. Create web pages that look great
when visitors use them on the go.
n
Make your pages work for you. Add animations that capture
the imagination, and forms that get the job done.
n
Take control of page layouts. Use professional design
techniques such as floats and positioning.
n
Make your layouts more flexible. Design websites with
Flexbox that adjust to different devices and screen sizes.
n
Work more eciently. Write less CSS code and work with
smaller files, using Syntactically Awesome Style Sheets (Sass).
missingmanuals.com
twitter: @missingmanuals
facebook.com/MissingManuals
Web Design/CSS
ISBN: 978-1-491-91805-0
US $39.99 CAN $45.99

CSS
David Sawyer McFarland
Beijing | Boston | Farnham | Sebastopol | Tokyo
The book that should have been in the box®

CSS: The Missing Manual
by David Sawyer McFarland
Copyright © 2015 David Sawyer McFarland. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc.,
1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use.
Online editions are also available for most titles (
http://safaribooksonline.com
). For
more information, contact our corporate/institutional sales department: (800) 998-
9938 or
corporate@oreilly.com
.
August 2006: First Edition.
August 2009: Second Edition.
December 2012: Third Edition.
August 2015: Fourth Edition.
Revision History for the Fourth Edition:
2015-08-05 First release
See
http://oreilly.com/catalog/errata.csp?isbn=0636920036357
for release details.
The Missing Manual is a registered trademark of O’Reilly Media, Inc. The Missing
Manual logo, and “The book that should have been in the box” are trademarks of
O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to
distinguish their products are claimed as trademarks. Where those designations
appear in this book, and O’Reilly Media is aware of a trademark claim, the
designations are capitalized.
While every precaution has been taken in the preparation of this book, the publisher
assumes no responsibility for errors or omissions, or for damages resulting from the
use of the information contained in it.
ISBN-13: 978-1-491-91805-0
[M]

III
Contents
The Missing Credits ........................................ ix
Introduction ..............................................xiii
What Is CSS? ..................................................... xiii
What You Need to Know ........................................... xiv
HTML: The Barebones Structure .................................... xiv
Document Types .................................................. xiv
How HTML Tags Work ..............................................xv
HTML5: More Tags to Choose From .................................x vii
Software for CSS .................................................xvii
About This Book ................................................. xviii
The Very Basics ....................................................xx
About the Online Resources ........................................ xxi
Safari® Books Online ..............................................xxii
Part One: CSS Basics
CHAPTER 1:
HTML and CSS ............................................. 3
HTML: Past and Present .............................................3
Writing HTML for CSS ...............................................5
The Importance of the Doctype .....................................17
How CSS Works ...................................................19
CHAPTER 2:
Creating Styles and Style Sheets ...........................21
Anatomy of a Style ................................................. 21
Understanding Style Sheets .........................................24
Internal Style Sheets ...............................................25
External Style Sheets ...............................................26
Tutorial: Creating Your First Styles ...................................27
CHAPTER 3:
Selectors: Identifying What to Style ...................... 41
Type Selectors: Styling HTML Tags ...................................42
Class Selectors: Pinpoint Control ....................................43
ID Selectors: Specific Page Elements .................................46
Styling Groups of Tags ..............................................49
Styling Tags Within Tags ............................................50
Pseudo-Classes and Pseudo-Elements ...............................55
剩余717页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论0