L02 – CSS


  • CSS, Cascading Style Sheets
  • How to add (inline, internal, external)
  • Syntax (declaration, properties, values)
  • Selectors
  • Specificity, inheritance
  • Basic layout
  • Frameworks and preprocessors

Self studies

In this lecture there is no time to go through each and every selector or property in CSS. Make sure to make yourself familiar with the most common ones including, but not limited to:


  • background-..., border-..., clear, color, float, font-..., margin-..., max-..., min-..., overflow, padding-..., position, text-..., width, z-index


  • Type selectors
  • Class selectors
  • ID selectors
  • Attribute selectors
  • Combinators (A + B, A ~ B, A > B, A B)
  • Pseudo-element (::after, ::before...)
  • Pseudo-classes (:active, :checked, :disabled, :first....)

See MDN, CSS reference



Welcome to CoursePress

en utav Linnéuniversitets lärplattformar. Som inloggad student kan du kommunicera, hålla koll på dina kurser och mycket mer. Du som är gäst kan nå de flesta kurser och dess innehåll utan att logga in.

Läs mer lärplattformar vid Linnéuniversitetet

Student account

To log in you need a student account at Linnaeus University.

Read more about collecting your account

Log in LNU