1
我想了解如何自動調整字體大小以適合我的幻燈片。 我使用遠程演示控制器主庫從 https://github.com/thehung111/remote-presentation-controllerreveal.js調整字體以適合幻燈片
我已嘗試添加到/punlic/css/main.cc
@media screen and (max-width: 1024px), (max-height: 600px) {
.reveal .slides {
font-size: 0.82em;
}
}
@media screen and (max-width: 700px), (max-height: 400px) {
.reveal .slides {
font-size: 0.66em;
}
}
但它不工作。 任何想法我需要做什麼? 謝謝,
這是行不通的。 '$('section')。quickfit({'min':6,'max':36})'也調整標題的大小,文字仍然在幻燈片中流淌。 ('h1')。not('h2')。not('h3')。quickfit({'min':6,'max':36})'製作大小爲6pt的所有'li'元素。 - 我可以在你的答案中尋求一個完整的解決方案嗎? – koppor