diff --git a/mycoolstyle.css b/mycoolstyle.css index ea81731..8e42e08 100644 --- a/mycoolstyle.css +++ b/mycoolstyle.css @@ -2,8 +2,19 @@ body { font-family: Arial, sans-serif; margin: 0; padding: 0; - } - .navbar { + + display: flex; + align-items: center; + + flex-direction:column + +} +.centered{ + display: flex; + justify-content: center; + align-items: center; + } +.navbar { background-color: #333; overflow: hidden; } @@ -18,8 +29,4 @@ body { .navbar a:hover { background-color: #ddd; color: black; - } - .navbar a.active { - background-color: #04AA6D; - color: white; } \ No newline at end of file