div {
height
:
30px
;
background-color
#3BA9DE
}
#div
1
{
width
: calc(
50px
+
);
2
200px
-
3
*
4
1000px
/
div { height: 30px; background-color: #3BA9DE; } #div1 { width: calc(50px + 50px); } #div2 { width: calc(200px - 50px); } #div3 { width: calc(50px*4); } #div4 { width: calc(1000px/4); }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
link
href
"css/style.css"
rel
"stylesheet"
</
body
div
id
"div1"
></
br
"div2"
"div3"
"div4"