From fde96ef75e0bff1134b29bc624e19a7f88f1aa5f Mon Sep 17 00:00:00 2001 From: "Russell R. Riker" Date: Tue, 28 Jul 2020 15:25:24 +0000 Subject: [PATCH] Inital commit of mycss.css. Created a column and row --- mycss.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mycss.css diff --git a/mycss.css b/mycss.css new file mode 100644 index 0000000..d399a6c --- /dev/null +++ b/mycss.css @@ -0,0 +1,18 @@ +* { + box-sizing: border-box; + } + + /* Create two equal columns that floats next to each other */ + .column { + float: left; + width: 30%; + padding: 10px; + height: 300px; /* Should be removed. Only for demonstration */ + } + + /* Clear floats after the columns */ + .row:after { + content: ""; + display: table; + clear: both; + } \ No newline at end of file