css 在Beaver Builder和UABB CTA模块中对齐按钮

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 在Beaver Builder和UABB CTA模块中对齐按钮相关的知识,希望对你有一定的参考价值。

/* ---------------------------------------------------------------------
Module: Call to Action
Requirement: You must have equal column heights.
Requirement: Button layout must be stacked.
------------------------------------------------------------------------ */

.fl-module-cta {
	display: flex;
	height: 100%;
}

.fl-module-cta .fl-module-content {
	width: 100%; /* fixes IE11 */
}

.fl-cta-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fl-cta-text {
	flex-grow: 1;
}
/* ---------------------------------------------------------------------
Module: Callout
Requirement: You must have equal column heights.
------------------------------------------------------------------------ */

.fl-module-callout {
	display: flex;
	height: 100%;
}

.fl-module-callout .fl-module-content {
	width: 100%; /* fixes IE11 */
}

.fl-callout {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fl-callout-content,
.fl-callout-text-wrap {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.fl-callout-text {
	flex-grow: 1;
}
/* ---------------------------------------------------------------------
Module: UABB Info Banner
Requirement: You must have equal column heights.
Requirement: Should not have a height set in the individual modules.
------------------------------------------------------------------------ */

.fl-module-info-banner {
	display: flex;
	height: 100%;
}

.fl-module-info-banner .fl-module-content {
	width: 100%; /* fixes IE11 */
}

.uabb-ultb3-box {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.uabb-ultb3-info {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.uabb-ultb3-desc {
	flex-grow: 1;
	padding-bottom: 10px;
}

以上是关于css 在Beaver Builder和UABB CTA模块中对齐按钮的主要内容,如果未能解决你的问题,请参考以下文章

css Beaver Builder CSS片段

css 在Beaver Builder的一排后面的渐变

css 在Beaver Builder中将按钮对齐到行的底部

css 使Beaver Builder标注对齐

css 使Beaver Builder CTA对齐

css Beaver Builder的字体很棒