Interactive Design - Project 2
8/5/2024- 25/6/2023(week9-week11)
Yang Jiayi/0369288
Interactive Design / Bachelor of Design (Honours) in Creative
Media
Project 2 :Working Web Page
TABLE OF CONTENTS
1. Instructions
2. Lectures
3. Exercises
4. Reflection
Instructions
Lectures
Week9
Display is CSS's most important property for controlling layout.
Every element has a default display value depending on what type of element it is.
Block level element
<div>is the standard block-level element. A block-level element starts on a new line and stretches out to the left and right as far as it can.
inline Element
<span> is the standard inline element. An inline element can wrap some text inside a paragraph<span> like this </span> without disrupting the flow of that paragraph.
Most HTMl elements are containers. Consider some of theHTML elements we've used so far: body, p, h1, h2, div, ul, ol, li.
Each of these is a container, or box.
Each box has three layers that surround its content. The layers are, in order from inside to outside:
- Padding
- Border
- Margin
![]() |
| fig1.1 Box |
CSS Flexbox is a powerful tools for creating responsive and efficient web layouts. lt rely on a solid understanding of the Box Model, as they manipulate elements' positioning and spacing within a container.
Flexbox (Flexible Box Layout)
- Key Concepts:
- Flex Container: The parent element with display: flex.
- Flex ltems: The children of the flex container.
lmportant Properties
Flex Container:
- display: flex: Establishes a flex container.
- flex-direction: Defines the direction of the flex items (row, column).
- justify-content: Aligns flex items along the main axis (start, end, center,space-between, space-around).
- align-items: Aligns flex items along the cross axis (stretch, center, start.end)
Exercises
Project 2: Working Landing Page
- Landing Page Design (Project 1)
![]() |
| fig1.2 process |
I use flag to create the effect. When the mouse is placed on the text, the specific content will pop up automatically.
This is the example given. I changed my avatar according to the example.
I didn’t know how to make the photo look like what I did in Figma, so I searched online for how to set the avatar style. I followed the example and set it up.
I searched online for how to make the progress bar change. I will use 'speedOfProgress to set it. I searched for how to use it and cases.
I used <a> to create a hyperlink. It was originally underlined, but I used text-decoration: none to cancel it.
- Link to websites








评论
发表评论