From c3e3bb03370e0e2f85f72f21ae6a506fa241bc1b Mon Sep 17 00:00:00 2001 From: amanullahakhundzada Date: Fri, 5 Aug 2022 20:26:45 -0700 Subject: [PATCH] Steps for CSS exercises #(1,2,3,4,5,6,7,8,9) has been compleated --- index.css | 38 ++++++++++++++++++++++++++++++++++++++ index.html | 25 +++++++++++++++---------- 2 files changed, 53 insertions(+), 10 deletions(-) create mode 100644 index.css diff --git a/index.css b/index.css new file mode 100644 index 0000000..893bdd9 --- /dev/null +++ b/index.css @@ -0,0 +1,38 @@ + .nav-link a { + color:orange; + text-decoration: none; + } +main{ + width: 600px; + margin-top:24px ; + margin-bottom:24px; + margin-left: auto; + margin-right: auto; +} +section{ + margin-top: 24px; + margin-bottom: 24px; + padding: 16px; +} +#title{ + font-size: 40px; + font-weight: 800; +} +.d-inline{ + display: inline; +} +nav > ul { + list-style: none; +} +body{ + background-color: #222222; + color:#EEEEEE; + +} +#avatar{ + width: 100px; + margin-left: auto; + margin-right: auto; + margin-top: 32px; + margin-bottom: 32px; + } \ No newline at end of file diff --git a/index.html b/index.html index 763c638..e40c37c 100644 --- a/index.html +++ b/index.html @@ -3,20 +3,23 @@ CSS Intro - - + + +
-