Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Write your css code below using the @media query rule, with the following specifications ( 15 points). a. For devices with a resolution of

image text in transcribed

4. Write your css code below using the @media query rule, with the following specifications ( 15 points). a. For devices with a resolution of 799 pixels or less: i. The body element must contain the following properties: 1. Background color: Green (using the rgba function) 2. Text color: Black 3. Margin: 25 pixels 4. Padding: 15 pixels (ONLY FOR THE LEFT SIDE) ii. All HTML elements from the class "figure" must contain the following properties: 1. Width: 30% 2. Margin: 15 pixels (ONLY FOR THE RIGHT SIDE) b. For devices with a resolution of 1299 pixels or less: i. The body element must contain the following properties: 1. Background color: Blue (using HEX code) 2. Text color: White 3. Margin: 30 pixels 4. Padding: 25 pixels (ONLY FOR THE LEFT SIDE) ii. All HTML elements from the class "figure" must contain the following properties: 1. Width: 50\% 2. Margin: 20 pixels (ONLY FOR THE RIGHT SIDE)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

Q.No.1 Explain Large scale map ? Q.No.2 Explain small scale map ?

Answered: 1 week ago