web-dev

    [Front-end] CSS

    Font Family • The font-family property defines the typeface of an element. h1 { font-family: Garamond; } When the name of a typeface consists of more than one word, it’s a best practice to enclose the typeface’s name in quotes, like so: h1 { font-family: 'Courier New'; } Font Size • font-size controls the size of text displayed. p { font-size: 18px; } Font Weight • font-weight defines how thin o..

    [Front-End] Fundamentals of CSS / CSS의 기초

    Cascading Style Sheets or CSS is a language web developers use to style the HTML content on a web page. CSS Anatomy Ruleset Terms: Selector—The beginning of the ruleset used to target the element that will be styled. Declaration Block—The code in-between (and including) the curly braces ({ }) that contains the CSS declaration(s). Declaration—The group name for a property and value pair that appl..