Skip to main content

Getting Your Styles to Hit the Target

  • Chapter
  • First Online:
CSS Mastery
  • 2801 Accesses

Abstract

A valid and well-structured document provides the foundation to which your styles are applied. You may already have added appropriate styling “hooks” to your HTML, or you may return to add more as the design requirements for a page evolve. In this chapter we will look at the range of selectors we have available to target that HTML and the extra hooks we can use to gain more control.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Andy Budd and Emil Bjorklund

About this chapter

Cite this chapter

Budd, A., Björklund, E. (2016). Getting Your Styles to Hit the Target. In: CSS Mastery. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5864-3_2

Download citation

Publish with us

Policies and ethics