Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 3 Style the main area Select the main element set the background color to white set the width to 9 0 % set the

Part 3 Style the main area
Select the main element
set the background color to white
set the width to 90%
set the max width to 1000px. This will stop the element from expanding too much on a
large screen
center the main element
set a 1rem padding on the top, the bottom and the left, and a 0 padding on the right
Select all h2 elements
o set the font color to #ffba00
set a 0.5 rem margin on the top and the bottom.
Select all image elements
set the maximum width to 100%. This allows the image to have a fixed width of 400 px (as
set in the html document) when there are enough space. It also allows the image to scale
smaller when the viewport size decreases without overflowing.
set the height to auto so that the images scale proportionally
add a box shadow, with a 0px x-offset, a 10px y-offset, a 6px blur radius, a -6px spread
radius, and of color #6d9773. This gives a shadow like effect to the picture.
Save your changes. Open Chrome DevTools and click the 'Toggle device toolbar' button to
check the page with different screen dimensions.
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

1. In what ways has flexible working revolutionised employment?

Answered: 1 week ago

Question

Discuss all branches of science

Answered: 1 week ago

Question

8. Providing support during instruction.

Answered: 1 week ago