css 的 height: auto 不要忘記使用!

1 min read
這是讓 container 可以依據裡面元素長高的輕鬆方法,忘記用這個讓我搞了一小時,筆記一下。
0
Subscribe to my newsletter
Read articles from Sun Pochin directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Sun Pochin
Sun Pochin
I was the main web front-end engineer responsible for developing and maintaining the customer-facing platform for WisdomHall (品學堂) in 2024 Q3 Q4, code reviewed by CTO and a senior engineer. http://learning.wisdomhall.com.tw has total active 257k users, according to their Facebook post: https://www.facebook.com/share/p/1MnjbwZxCV/ My tech stack includes JavaScript, Vue 2, Nuxt 2, git, and Docker.