当列表变大时,文本就会移动,因为它希望位于中间,可以通过任何方式更改该行为,同时将元素保留在中间(如幻灯片的上一版或第一版)
---
title: "SFB1315 Result Gallery"
subtitle: "what is the point?"
author: " "
institute: ""
date: "2019-10-24 (updated: `r Sys.Date()`)"
output:
xaringan::moon_reader:
css: ["default" ]
chakra: libs/remark-latest.min.js
lib_dir: libs
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: true
---
class: middle
# Objectives:
- bullet 1
--
- bullet 2
答案 0 :(得分:0)
尝试一下
---
title: "SFB1315 Result Gallery"
subtitle: "what is the point?"
author: " "
institute: ""
date: "2019-10-24 (updated: `r Sys.Date()`)"
output:
xaringan::moon_reader:
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: true
---
<style>
.middle-freeze{
padding-top: 12em;
}
</style>
---
class: middle-freeze
# Objectives:
- bullet 1
--
- bullet 2
说明:我在主要内容的顶部添加了12em填充,因此在更改高度时不会被向上推。