此类接受 Tailwind CSS 中的多个值。它是 CSS 溢出属性的替代品。此溢出用于控制对容器来说太大的元素内容的处理方式。它告诉是剪辑内容还是添加滚动条
CSS Overflow-x和CSS Overflow-y在 CSS 中有单独的属性,
溢出类:
- 溢出自动
- 溢出隐藏
- 溢出可见
- 溢出滚动
- 溢出-x-自动
- 溢出-y-自动
- 溢出-x-隐藏
- 溢出-y-隐藏
- 溢出-x-可见
- 溢出可见
- 溢出-x-滚动
- 溢出-y-滚动
溢出自动:它会在需要时自动添加滚动条。此类在元素的内容溢出该元素的边界时向该元素添加滚动条。
句法:
...
例子:
HTML
GeeksforGeeks
Tailwind CSS Overflow Class
How many times were you frustrated while
looking out for a good collection of
programming/algorithm/interview questions?
What did you expect and what did you get?
This portal has been created to provide
well written, well thought and well
explained solutions for selected questions.
An IIT Roorkee alumnus and founder of
GeeksforGeeks. He loves to solve programming
problems in most efficient ways. Apart from
GeeksforGeeks, he has worked with DE Shaw
and Co. as a software developer and JIIT
Noida as an assistant professor. It is a
good platform to learn programming. It is
an educational website. Prepare for the
Recruitment drive of product based companies
like Microsoft, Amazon, Adobe etc with a
free online placement preparation course