Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Class 1 template & Box Model

Shulou Source: shulou.com Published: 2022-06-01 03:57:15 10月06日 Update

Basic template

At will

Box model

At will

Body {

Margin:10px

Padding:10px

}

.uni {(uni- the same part to reduce the code)

Width:200px

Height:200px

Float:left; (floating: left left / right right)

}

# first {(# is id)

Width:500px

Height:500px

Background:white

Margin:0 auto

}

# second {

Background:red

Margin-right:10px

Margin-bottom:10px

}

# third {

Background:green

Margin-bottom:10px

}

# fourth {

Background:black

Margin-right:10px

}

# fifth {

Background:blue

}

(class is defined as any letter)

Tags: Model template box same code base letter part float Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS vpn OPPO Reno Xiaomi MariaDB