Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is my 2nd time posting this. The first response from an expert offered basic information about CSS that I can find through various google
This is my 2nd time posting this. The first response from an expert offered basic information about CSS that I can find through various google searches. I need help creating a receding cube effect. Thanks in advance
ial Potates the aside elements within the right section -25o around the WIthin the left section 25 around the y-axis. y dxis. Explore 10. Go to the Cube Styles section. Here you'll create the receding cube effect that appears in the center of the page. The cube has been constructed by creating a div element with the id cube containing five div elements belonging to the cube_face class with the ids cube bottom, cube_top, cube_left, cube_right, and cube front. (There will be no back face for this cube.) Currently the five faces are superimposed upon each other. To create the cube you have to shift and rotate each face in 3D space so that they form the five faces of the cube. First, position the cube on the page by creating a style rule for the divtcube selector containing the following styles: a. Place the element using relative positioning. b. Set the top margin to 180 pixels, the bottom margin to 150 pixels, and the left/right margins to auto. c. Set the width and height to 400 pixels. d. Set the perspective of the space to 450 pixels. 11. For each div element of the cube face class, create a style rule that places the faces with absolute positioning and sets their width and height to 400 pixels. Explore 12. Finally, you'll construct the cube by positioning each of the five faces in 3D space so that they form the shape of a cube. Add the following style rules for each of the five faces to transform their appearance. a. Translate the cube_front div element-50 pixels along the z-axis. b. Translate the cube_left div element -200 pixels along the x-axis and rotate it 90 around the y-axis c. Translate the cube right div element 200 pixels along the x-axis and rotate it 90 counter-clockwise around the y-axis. d. Translate the cube_top div element -200 pixels along the y-axis and rotate it 90 counter-clockwise around the x-axis. e. Translate the cube_bottom div element 200 pixels along the y-axis and rotate it 90 around the x-axis. layout of your page matches Figure 4-68 including the center cube with the five faces of photos and text. 3. Save your changes to style sheet file and open cf home.html in your browser. Verify that theStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started