CSS: Styling (OCR A-Level Computer Science): Flashcards

📚Flashcards
CSS: Styling
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

CSS property to set text colour

colour

CSS property to set background colour of an element

background-colour

Three ways to define colours in CSS

Named colours, hex codes, RGB values

CSS property to specify typeface for text

font-family

CSS property to set text size

font-size

CSS property to position text (e.g., center)

text-align

CSS property to add effects like underlining

text-decoration

CSS property for border style (e.g., solid, dashed)

border-style

CSS property to set border colour

border-colour

CSS property to adjust border thickness

border-width

CSS property that creates space outside an element

margin

CSS property for space inside element (content to border)

padding

CSS properties to set element dimensions

height and width

CSS selector for reusable styles on multiple elements

Classes (.classname)

CSS selector for unique style on a single element

IDs (#idname)

Explore OCR A-Level Computer Science Revision Notes by Topics

Explore OCR A-Level Computer Science Model Answers by Topics

Explore OCR A-Level Computer Science Quizzes by Topics

Explore OCR A-Level Computer Science Exam Questions by Topics

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.