1. Intro section with dropdown navigation #
Learnings #
- Question: what to implement first, small components or the large layouts/components. i.e. bottom-up or top-down. This is valid when starting with any UI.
- Confidence gain: I can work with layouts quite nicely.
- Problem: brush up box-model, i.e. does width(or height) include border/padding/margin? How to remember this?
Todo #
Have to implement UI that’ll render properly on mobile (which is completely different).
- How is this done?
- Are media queries enough?
- Can a page have a switch case where each device has a different UI which is rendered selectively, or is it all mixed up.
How is a custom styled dropdown created ? I am yet to create this. See
- Using
z-index
anddisplay: none
? - Or something else.
- Note that dropdown
select
,option
are OS controlled, and cannot be styled extensively.