diff --git a/experiments/gregor/1_basics.html b/experiments/gregor/1_basics.html index 6fdc6c7..63e7a9e 100644 --- a/experiments/gregor/1_basics.html +++ b/experiments/gregor/1_basics.html @@ -3,13 +3,97 @@ The box model - Interactive Information + @@ -68,7 +152,7 @@

The box model

- Block and inline boxes + Block and inline boxes

@@ -85,7 +169,7 @@

In general, you can set various values for the display type using the - + display property, which can have various values. @@ -93,8 +177,8 @@

-

- Outer display type +

+ Outer display type

@@ -175,7 +259,7 @@

- Inner display type + Inner display type

@@ -228,8 +312,8 @@

-

- Examples of different display types +

+ Examples of different display types

@@ -321,7 +405,7 @@

- What is the CSS box model? + What is the CSS box model?

@@ -337,7 +421,7 @@

- Parts of a box + Parts of a box

Making up a block box in CSS we have the:

@@ -397,7 +481,7 @@

- The standard CSS box model + The standard CSS box model

@@ -428,7 +512,7 @@

css

-                                        .box {
+                                        .box {
                                           width: 350px;
                                           height: 150px;
                                           margin: 10px;
@@ -460,8 +544,8 @@ 

-

- The alternative CSS box model +

+ The alternative CSS box model

In the alternative box model, any width is the width of the visible box on the page. The content area @@ -545,8 +629,8 @@

-

- Playing with box models +

+ Playing with box models

@@ -585,8 +669,8 @@

-

- Use browser DevTools to view the box model +

+ Use browser DevTools to view the box model

@@ -606,8 +690,8 @@

-

- Margins, padding, and borders +

+ Margins, padding, and borders

@@ -632,8 +716,8 @@

-

- Margin +

+ Margin

The margin is an invisible space around your box. It pushes other elements away from the box. Margins @@ -724,8 +808,8 @@

Margin collapsing

-

- Borders +

+ Borders

@@ -863,8 +947,8 @@

-

- Padding +

+ Padding

The padding sits between the border and the content area and is used to push the content away from @@ -914,8 +998,8 @@

-

- The box model and inline boxes +

+ The box model and inline boxes

@@ -948,8 +1032,8 @@

-

- Using display: inline-block +

+ Using display: inline-block

@@ -1050,8 +1134,8 @@

-

- Test your skills! +

+ Test your skills!

@@ -1064,8 +1148,8 @@

-

- Summary +

+ Summary

That's most of what you need to understand about the box model. You may want to return to this lesson diff --git a/experiments/gregor/favicon.ico b/experiments/gregor/favicon.ico new file mode 100644 index 0000000..971b37c Binary files /dev/null and b/experiments/gregor/favicon.ico differ