Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
devwiki:html [2023/02/07 17:21] – [HTML5 Elements (Widgets)] ying | devwiki:html [2023/02/07 18:21] (current) – [HTML5 Elements (Widgets)] ying | ||
---|---|---|---|
Line 151: | Line 151: | ||
display: flex; | display: flex; | ||
justify-content: | justify-content: | ||
+ | } | ||
+ | </ | ||
+ | * in 3rd method, as it is like hbox default, those elements inside div is like widget in UI, to align those widgets together, set align-items in .div_name <code css> | ||
+ | .div_name{ | ||
+ | display: flex; | ||
+ | justify-content: | ||
+ | align-items: | ||
} | } | ||
</ | </ |