精通 CSS(第3版) - [英]安迪•巴德 - Andy Budd

精通 CSS(第3版)

[英]安迪•巴德 - Andy Budd

出版时间

2019-01-31

ISBN

9787115506900

评分

★★★★★

标签

web编程

AI导读
核心看点
  • 全面升级CSS3与HTML5特性,涵盖响应式设计与动画。
  • 深入解析盒模型、浮动、层叠等核心布局概念与原理。
  • 提供跨浏览器兼容方案及无障碍访问等高级实战技巧。
适合谁读
  • 具备HTML/CSS基础,希望系统深化知识的前端开发者。
  • 需要解决复杂布局问题,追求代码稳健性的工程师。
  • 对CSS底层机制感兴趣,旨在查漏补缺的进阶读者。
读前提醒
  • 非零基础入门书,建议先掌握基本语法再阅读。
  • 部分代码示例可能存在错误,需结合实践验证。
  • 建议搭配彩色PDF版本阅读,避免黑白插图误导。
读者共识
  • 内容深入浅出,是CSS进阶与查缺补漏的经典之作。
  • 理论结合大量实例,有助于建立宏观且全面的认知。
  • 翻译质量参差,部分术语晦涩,需耐心对照原文。

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "所有CSS布局的根本都是3个基本概念:定位、浮动、margin操纵。"
  • "在符合标准的浏览器中,如果元素的内容太大,它只会超出box之外。但是,IE会扩展整个元素(。。。-_-)"
  • "Meaningful markup provides the developer with several important benefits. Meaningful pages are much easier to work with than presentational ones. For example, say you need to change a quotation on a page. If the quotation is marked up correctly, it is easy to scan through the code until you find the"
  • "When naming your IDs and classes, it is important that you keep the names as “unpresentational” as possible. For instance, if you want all of your form notification messages to be red, you could give them a class of red. This is fine as long as there are no other red elements on the page. However, s"
  • "At the same time, they can be overused and even abused. Novice CSS authors often add classes to nearly everything in an attempt to get fine-grained control over their styles. Early WYSIWYG editors also had the tendency to add classes each time a style was applied. Many developers picked up this bad "
  • "In the preceding example, each element is identified as being part of a news story by using an individual news-related class name. This has been done to allow news headlines and text to be styled differently from the rest of the page. However, you don’t need all these extra classes to target each in"
  • "When browser manufacturers started to create standards-compliant browsers, they wanted to ensure backward compatibility. To accomplish this, they created two rendering modes: standards mode and quirks mode. In standards mode, the browser renders a page according to the specifications, and in quirks "
  • "With even a moderately complicated style sheet, it is likely that two or more rules will target the same element. CSS handles such conflicts through a process known as the cascade. The cascade works by assigning an importance to each rule. Author style sheets are those written by the site developers"
作者简介
安迪•巴德(Andy Budd) 数字设计咨询公司Clearleft联合创始人,Web标准倡导者。目前专注于用户体验设计领域。 埃米尔•比约克隆德(Emil Björklund) 数字设计咨询公司inUse技术总监,拥有十余年专业Web开发经验,从客户端JavaScript到服务器端Python都有深入研究。
目录
正在加工中
用户评论
出了没多久就跑去图书馆借了,比起第二版新增了挺多内容的,讲的更加深入了,并且在方方面面都涉及了,用来查缺补漏很有用
对于初学者来说很有帮助
适合有基础需要精进的读友,整体阅读不错,细节很多。
昨天刚到的一本书,才看了前三章,相较于第二版来说,没有过于基础的部分,废话不多。前三章对于,盒模型,层叠,继承,浮动,bfc讲的很好。
过于枯燥了
好书
【经典书籍,一年前应该看完大部分了,今天清理一下】这个翻译后的版本,是黑白的,在网上可以找到彩色的pdf版本。一些图片是黑白的会误人子弟!!!
像是一种已经入了门的再来读的书,很通俗易懂,读书时像是在和作者沟通
下载
收藏