如何在嵌入代码中插入背景颜色、字体类型和颜色等?
How to insert background color, font type and color, etc in embed code?
我有以下结帐代码要插入到 Webflow 块中。如何设置显示代码的样式、颜色、字体等?
<script src="https://cdn.chec.io/js/embed.js"></script>
<a href="https://checkout.chec.io/icqo4Y" data-chec-product-id="icqo4Y">Buy Now</a>
抱歉,我不是程序员或开发人员,找不到对我来说容易的指导方法。
我的目标是制作一个具有以下特征的按钮:
background color: #d36868
Font: Monserrat 20 px
Shape: Square
Text: Buy
像这样?
[data-chec-product-id] {
display: inline-block;
background-color: #d36868;
font-family: 'Montserrat', sans-serif;
font-weight: 100;
font-size: 20px;
text-decoration: none;
border: 1px outset blue;
height: 25px;
width: 50px;
text-align: center;
}
[data-chec-product-id]:hover {
background-color: blue;
color: white;
}
<script src="https://cdn.chec.io/js/embed.js"></script>
<a href="https://checkout.chec.io/icqo4Y" data-chec-product-id="icqo4Y">Buy</a>
我有以下结帐代码要插入到 Webflow 块中。如何设置显示代码的样式、颜色、字体等?
<script src="https://cdn.chec.io/js/embed.js"></script>
<a href="https://checkout.chec.io/icqo4Y" data-chec-product-id="icqo4Y">Buy Now</a>
抱歉,我不是程序员或开发人员,找不到对我来说容易的指导方法。
我的目标是制作一个具有以下特征的按钮:
background color: #d36868
Font: Monserrat 20 px
Shape: Square
Text: Buy
像这样?
[data-chec-product-id] {
display: inline-block;
background-color: #d36868;
font-family: 'Montserrat', sans-serif;
font-weight: 100;
font-size: 20px;
text-decoration: none;
border: 1px outset blue;
height: 25px;
width: 50px;
text-align: center;
}
[data-chec-product-id]:hover {
background-color: blue;
color: white;
}
<script src="https://cdn.chec.io/js/embed.js"></script>
<a href="https://checkout.chec.io/icqo4Y" data-chec-product-id="icqo4Y">Buy</a>