From 07a2505e0878e64a1524699441606dfb3904a062 Mon Sep 17 00:00:00 2001 From: Oskar-Mikael Date: Wed, 27 Jan 2021 00:05:51 +0100 Subject: [PATCH] Add mediaquery for smaller screens --- style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index ebc1927..3e4c8fb 100644 --- a/style.css +++ b/style.css @@ -22,13 +22,14 @@ button { padding: 1rem 1.5rem; border-radius: 5px; background-color: burlywood; - outline: none; cursor: pointer; + border: none; } ol { padding: 0; margin-bottom: 5rem; + list-style-type: none; } ol>li { @@ -43,4 +44,10 @@ ol>li { #reset { margin-top: 5rem; +} + +@media screen and (max-width:768px) { + #grid { + grid-template-columns: 1fr; + } } \ No newline at end of file