Question: TASK 2 : CONFIGURE THE CSS ( 5 points ) . You will use a text editor application such as notepad or notepad + +
TASK : CONFIGURE THE CSS points You will use a text editor application such as
notepad or notepad to open and modify the coffee.css file. Review the image above. Notice how
the text labels for the form controls are on the left side of the content area. Notice the empty space
WEBD: Page of
between each form control. When displaying on a narrow viewport, the display will be more
pleasing if there is only one column, as shown in the figure above. Open coffee.css in a text editor.
Configure the CSS as follows:
a Code a selector right after the #heroguitar for an id named herojobs #herojobs with px
height. Set the background image to coffeecup.jpg The background image will not repeat.
Also configure backgroundsize:
b Configure the single column display for narrow viewports using flexbox. Add the following
CSS at the end of the file to configure the form element selector as a flex container with one
column, em left padding, and width.
form display: flex;
flexdirection: column;
paddingleft: em; width: ;
c Create a label element selector to float to the left with block display. Set the text alignment to
left, assign a width of em and set em right padding.
d Configure the input element and textarea element selectors with block display and em of
bottom margin.
e Configure an id named mySubmit with a em left margin.
Save the coffee.css file. Copy and paste the CSS code from the coffee.css file into the WC CSS
code validator to make sure it validates with no syntax errors.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
