Chung-Yang Ric Huang
Recap from last class (02/20)
Try
HackMD
Chung-Yang Ric Huang
·
Follow
Last edited by
蕭恬 TIEN HSIAO
on
Feb 27, 2019
Linked with GitHub
Contributed by
Edit
0
Comments
Feedback
Log in to edit or delete your comments and be notified of replies.
Sign up
Already have an account? Log in
There is no comment
Select some text and then click Comment, or simply add a comment to this page from below to start a discussion.
Discard
Send
Recap from last class (02/20)
In-Class Practice 01
Draw 4 boxes with (w,h) = (150px, 100px), put them in a row separeted with 20px. Color them "orange".
How to draw a "box" HTML? Using "div", "span"?
Let's beautify the boxes by making them 立體感
Making a "round border"
Add "blurred shadow"
Let's make some "animation"
First, let's align boxes horizontally on the center of the browser window
When mourse hover, make the box "pop-up", while others remain intact
Please check: when browser window is resized, the last box(es) is(are) "wrapped" to the next line!
Let's improve the user experience!
When window gets smaller, the boxes should get smaller accordingly. (note: use "@media" queries)
The boxes should remain in a line. However, when the window gets too small, the boxes should alter to align vertically.
End
Recap from last class (02/20)
In-Class Practice 01
Let's beautify the boxes by making them 立體感
Let's make some "animation"
Let's improve the user experience!
End
Expand all
Back to top
Go to bottom
Recap from last class (02/20)
In-Class Practice 01
Let's beautify the boxes by making them 立體感
Let's make some "animation"
Let's improve the user experience!
End
Expand all
Back to top
Go to bottom
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up
Comment