New Perspectives on Html5 and Css3 7th Edition Tutorial 10 Review
Complete the following:
1. Using your editor, open up the sd_messier_txt.html and sd_effects_txt.css files from the
html04 case1 folder. Enter your proper name and the date in the comment section of each file, and
save them as sd_messier.html and sd_effects.css respectively.
2. Become to the sd_messier.html file in your HTML editor. Within the document head, create links to
the sd_base.css, sd_layout.css, and sd_effects.css style sail files in the order listed. Study the
content and structure of the web page and then save your changes to the certificate.
3. Go to the sd_effects.css file in your editor. Andrew wants yous to create a stock-still background for the
browser window. Inside the HTML Styles section, insert a style rule for the html element to display
the sd_back1.png file every bit the background image with a width of 100% covering the entire browser
window. Have the background paradigm fixed so that it does not scroll with the browser window.
4. Andrew wants the spider web page body background to combine several images and furnishings. Go to
the Body Styles section and create a style rule for the torso chemical element that adds the following
backgrounds in the order listed:
a. A background containing the night sky paradigm, sd_back2.png
b. A radial gradient circumvolve with a size extending to the closest corner and placed at the
coordinates (xl%, seventy%) containing the color white stopping at 15% of the gradient and the
colour value rgba(151, 151, 151, 0.five) stopping at 50%
c. A radial gradient circle likewise extending to the closest corner and placed at (eighty%, 40%)
containing the color white stopping at 15% and followed by the color rgba(0, 0, 0, 0) at thirty%
d. A radial gradient extending to the closest side and placed at (x%, 20%) containing the color
white stopping at 20% and followed by the color rgba(0, 0, 0, 0) stopping at 45%
eastward. A radial gradient with a size of v% in the horizontal and vertical directions placed at (90%, 10%)
with the color white stopping at xv% and followed by the color rgba(0, 0, 0, 0) stopping at 40%
f. The background color rgb(151, 151, 151) set as a base for the preceding background image
and radial gradients
v. Within the way rule for the folio torso, add together styles to identify box shadows on the left and right
borders. Set the color of the first shadow to rgb(31, 31, 31) with horizontal and vertical offsets
of thirty pixels and 0 pixels and a blur of 45 pixels. Set the 2nd shadow equal to the first except
that the horizontal commencement should be –30 pixels.
6. Go to the Navigation List Styles section. Format the hypertext links in the body header by calculation
a fashion dominion for the trunk > header a that adds a 5-pixel showtime border with color value
rgb(211, 211, 255).
vii. Next, format the appearance of the commodity title. Go to the Section Left Styles department and create a
style rule for the h1 heading in the left department commodity that changes the text colour to rgb(211, 211,
211) and adds a black text shadow with 0-pixel offsets and a mistiness size of 5 pixels.
viii. Andrew has included an paradigm of Charles Messier, the originator of the Messier catalog of stellar
objects. The image is marked with the id "mportrait". In the Department Left Styles department, create
a style dominion for this object that modifies the appearance of this prototype by applying the post-obit
filters: a) the driblet-shadow filter with a horizontal offset of –15 pixels, a blur of five pixels, and a
color of rgba(51, 51, 51, 0.9); b) a grayscale filter with a value of 0.7; and c) an opacity filter with
a value of 0.6.
ix. Andrew wants the Charles Messier prototype flipped horizontally. Add a style to transform the paradigm
by rotating it 180° effectually the y-axis.
x. Go to the Footer Styles department and create a style rule for the footer element that adds a 2-pixel
solid border to the pinnacle border of the footer with a colour value of rgb(171, 171, 171).
11. Salvage your changes to the style sheet file and and then open up sd_messier.html in your browser. Verify
that the blueprint of the page resembles that shown in Figure 4-66. Verify that when you scroll
through the web page, the browser window background stays fixed. (Notation: Some versions
of Internet Explorer practise not support the filter style, which means that you volition not meet
modifications to the Charles Messier image.)
"Looking for a Like Assignment? Get Expert Help at an Amazing Discount!"
Source: https://bestcustomwriters.com/new-perspectives-on-html5-and-css3-7th-edition-tutorial-4-case-problem-1/
0 Response to "New Perspectives on Html5 and Css3 7th Edition Tutorial 10 Review"
Post a Comment