imhardikdesai / Quiz-App

This quiz web app is built using React JS. It can allow the user to select the criteria for their quiz from a list of options. The user can then proceed to answer the questions in the quiz and their performance will be tracked and shown in the scoreboard
https://ask-quiz.netlify.app/
16 stars 13 forks source link

Update App.css #11

Open rishi457 opened 9 months ago

rishi457 commented 9 months ago

Background and Text Styles: The CSS code for the .App class sets the background color to a dark gray (#212832) and the text color to white for better readability and aesthetics.

Font Styles: The font-family, font-size, and line-height properties are used to define the font style, size, and line spacing within the .App element.

Padding and Margins: The padding property adds space inside the .App element, improving the layout of content. The margin property ensures there are no default margins around the element.

Text Alignment: The text-align property centers the text content within the .App element, creating a visually appealing layout.

Hover Effect: The .App:hover selector adds a hover effect that changes the background color to a slightly lighter gray (#3e4f63) when the mouse pointer is over the element, enhancing user interactivity.

Box Shadow: The box-shadow property adds a subtle shadow to the .App element, creating a sense of depth and making it stand out from the background.

Media Query: A media query using @media is included to adjust the font size (making it smaller) for screens with a maximum width of 768 pixels, ensuring responsiveness on smaller devices.

These changes collectively improve the styling and responsiveness of your web application, providing a more visually appealing and user-friendly experience.

netlify[bot] commented 9 months ago

Deploy Preview for ask-quiz ready!

Name Link
Latest commit a971ad9c47750ddb0c97800c3ed4e993e83223d0
Latest deploy log https://app.netlify.com/sites/ask-quiz/deploys/65222df27d083400097735d2
Deploy Preview https://deploy-preview-11--ask-quiz.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.