From b54db14a29829e8630f5d9c140cf80ec0d68041d Mon Sep 17 00:00:00 2001 From: hodasemi Date: Wed, 24 Oct 2018 10:00:00 +0200 Subject: [PATCH] Add table sorting --- css/main.css | 11 ++++++++- index.html | 3 +++ main.js | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 78 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index 0f5ad52..3204613 100644 --- a/css/main.css +++ b/css/main.css @@ -36,11 +36,20 @@ table#t01 { table#t01 tr:nth-child(even) { background-color: #eee; } + table#t01 tr:nth-child(odd) { background-color: #fff; } + table#t01 th { color: white; - background-color: black; + background-color: grey; padding: 15px; +} + +.boxed { + border: 1px solid green; + width: 80%; + box-align: center; + text-align: center; } \ No newline at end of file diff --git a/index.html b/index.html index 122f0f1..116b808 100644 --- a/index.html +++ b/index.html @@ -30,6 +30,9 @@

World Data Overview ...

+
Text text text text text text text text text text text text text text text text + text text text text text text text text text text.
+