Introduction to CSS
COMP3006 - Full Stack Development
University of Plymouth
, Table of Contents
What is CSS? ........................................................................... 3
How to write CSS .................................................................. 3
Advanced CSS selectors ....................................................... 4
Inheritance ................................................................................ 5
The Cascade ............................................................................ 5
Box Model ................................................................................. 7
Block and Inline Elements ..................................................... 7
Margin, Padding, Width and Height .......................................... 8
Floating ..................................................................................... 9
About this booklet
This is a companion resource to COMP3006, introducing you to
the basic concepts of CSS. This booklet should be used
alongside your lectures and workshops for quick reference and
a deeper dive into the information available on the slides.
Copyright Notice
The content in this booklet follows and builds upon information
laid out in lectures at the University of Plymouth. No content is
taken directly from the lecture slides, or any other University
owned materials.
Booklet by Encoded.
https://www.stuvia.com/user/encoded
Page
COMP3006 - Full Stack Development
University of Plymouth
, Table of Contents
What is CSS? ........................................................................... 3
How to write CSS .................................................................. 3
Advanced CSS selectors ....................................................... 4
Inheritance ................................................................................ 5
The Cascade ............................................................................ 5
Box Model ................................................................................. 7
Block and Inline Elements ..................................................... 7
Margin, Padding, Width and Height .......................................... 8
Floating ..................................................................................... 9
About this booklet
This is a companion resource to COMP3006, introducing you to
the basic concepts of CSS. This booklet should be used
alongside your lectures and workshops for quick reference and
a deeper dive into the information available on the slides.
Copyright Notice
The content in this booklet follows and builds upon information
laid out in lectures at the University of Plymouth. No content is
taken directly from the lecture slides, or any other University
owned materials.
Booklet by Encoded.
https://www.stuvia.com/user/encoded
Page