問題タブ [tailwind-ui]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
68 参照

html - CSS/Tailwind: Why does justify-between send element to bottom instead of content-between?

community,

I have a quick question. I am using the current version of Tailwind CSS.

My goal was to send the button (corpus delicti) to the bottom of the parent div. I was using content-between the whole time but that didn't work. So I tried just for fun justify-between and the button element was sent to the bottom of the parent div. I don't get it. Why is that?

In CSS docs it is stated that "

...The CSS justify-content property defines how the browser distributes space between and around content items along the main-axis of a flex container [...]."

enter image description here

Here is the CSS code:

Would be very glad to get an answer, since that behavior totally destroys my very hard-earned trust in CSS.

THX in advance!

0 投票する
1 に答える
37 参照

html - htmlで複数のクラス名を1つのクラスに変換する

vue プロジェクトで定義済みの tailwind css を使用しています。

ご覧のとおり、タグごとに、この複数のクラスをすべて入力する必要があります。私が欲しいのは、変数クラスをこのようなクラスで動作させる方法があるということです