CSS  Add a body selector and set the following:  Set the font family to sans-serif. Add a class called text-center and set it to align text to the center. Create an id called slideshow: Set the margin to 80px (up/down) and auto (left/right). Set the position to relative. Set the height and width to 240px. Set the padding to 10px. set the box shadow with the following:

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter8: Enhancing A Website With Multimedia: Working With Sound, Video, And Animation
Section: Chapter Questions
Problem 15CP3
icon
Related questions
Question

CSS 
Add a body selector and set the following: 
Set the font family to sans-serif.
Add a class called text-center and set it to align text to the center.
Create an id called slideshow:
Set the margin to 80px (up/down) and auto (left/right).
Set the position to relative.
Set the height and width to 240px.
Set the padding to 10px.
set the box shadow with the following:
height offset: 0
vertical offset: 0
blur: 20px
color: rgba color of black with an opacity of 0.4 (HINT: Make sure to apply the opacity to the box-shadow, not the image.)
Create another id of slideshow with a child of div:
Set the position to absolute.
Set the top, left, right, and bottom to 10px.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L