开发者

Tailwind, opposite of visible to show and hide elements on mobile?

I have the following snippet:

        <div>
            <table className="hidden sm:block w-full">
...

but when I expand the screen, the table doesn't take up the full width as the internet is suggesting me.

With Co开发者_C百科de Above

Tailwind, opposite of visible to show and hide elements on mobile?

Desired Result

Tailwind, opposite of visible to show and hide elements on mobile?

What is the opposite of visible? Everyone suggests block, but that seems like an odd default to me.


It looks like

 <table className="hidden sm:table w-full">

is the best approach here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜