我正在将Klipfolio中的 HTML 片段嵌入到响应式 Wordpress 网站。像素宽度是静态的,我不知道如何制作它,以便片段调整到每个设备的屏幕尺寸。下面是代码
<div style="display:inline-block" id="kf-embed-container-f7507c53e69bc38488531eaa17195424"></div>
<script type="text/javascript" src="https://embed.klipfolio.com/a/js/embed.api"></script>
<script type="text/javascript">
KF.embed.embedKlip({
profile : "f7507c53e69bc38488531eaa17195424",
settings : {"width":351,"theme":"light","borderStyle":"round","borderColor":"#CCCCCC"},
title : "Facebook Page Visits (90 Days)",
actionText : "Need a custom view",
actionLink : "https://biz.azokaa.com/contact/"
});
</script>
谢谢