css

Description

css
Jack Lovett-Earles
Flashcards by Jack Lovett-Earles, updated more than 1 year ago
Jack Lovett-Earles
Created by Jack Lovett-Earles about 4 years ago
1
0

Resource summary

Question Answer
Background-attachment Sets whether a background image is fixed or scrolls with the rest of the page
Background-clip Specifies the painting area of the background
Background-position Sets the starting position of a background image
Background-size Specifies the size of the background image(s)
background shorthand background-color background-image background-repeat background-attachment background-position
2 shadow properties text shadow & box shaddow
Positioning context Fixed & sticky is the viewport, absolute is another element & relative is itself.
Inline-block vs inline Inline-block: allows a height & width to be set on an element. display:Inline top & bottom margins & paddings aren’t respected.
pseudo-class pseudo-class is used to define a special state of an element. Eg :hover, :active, :focus, :first-child, :last-child, :nth-child(n),
pseudo-element pseudo-element is used to style specified parts of an element. Eg Style the first letter, or line, of an element. Eg ::first-line, ::first-letter, ::before, ::afte
[attribute] selector [attribute] selector is used to select elements with a specified attribute.
What is Em Relative to the font-size of the element (2em means 2 times the size of the current font)
what is rem Relative to font-size of the root element
Show full summary Hide full summary

Similar

CCNA Security 210-260 IINS - Exam 3
Mike M
Application of technology in learning
Jeff Wall
Innovative Uses of Technology
John Marttila
Ch1 - The nature of IT Projects
mauricio5509
The Internet
Gee_0599
SQL Quiz
R M
CCNA Answers – CCNA Exam
Abdul Demir
Professional, Legal, and Ethical Issues in Information Security
mfundo.falteni
System Analysis
R A
Flash Cards Networks
JJ Pro Wrestler
Web Designing & Development Full Tutorial
Nandkishor Dhekane