본문 바로가기
Web Dev

Intermediate CSS - PART I

by YGSEO 2020. 12. 22.
728x90

1. Favicon

favicon.io/favicon-converter/

 

Favicon.io - The Ultimate Favicon Generator (Free)

With Favicon.io you can quickly generate a favicon for your website for free!

favicon.io


2. Div

margin


3. Box Model

width, height, border, padding, margin

top right bottom left values are clock-wise unless specifies the property

box model


4. Display

Block elements:

- paragraphs

- headers

- divisions

- lists and list items

- forms

 

blocking any other element from it.

 

<span>: select part of text from block elements. In short, span is inline display element.

Common Inline Elements:

- span

- images

- anchors

 

cons: inline element can't change width, block can.

 

Here's inline-block elements come.

 

Summary:

Types of Display element:

block, inline, inline-block, none

 

visibility:

hidden

 

*display: none VS visibility: hidden

- {display: none} makes no space left.

- {visibility: hidden} makes it hidden with the room for it.

 

 

728x90

'Web Dev' 카테고리의 다른 글

Installation Bootstrap 4  (0) 2020.12.23
Intermediate CSS - Confusing part: Box, Border  (0) 2020.12.23
Intermediate CSS - PART II  (0) 2020.12.22
CSS - Introduction to CSS  (0) 2020.12.22
Introduction to HTML  (0) 2020.12.21

댓글