0

当列表变大时,文本正在移动,因为它想位于中间,以任何方式更改该行为同时将元素保持在中间(如幻灯片的最后一个或第一个版本)

---
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
4

1 回答 1

1

尝试这个

---
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 内边距,因此在更改高度时不会向上推。

于 2019-10-31T02:45:06.997 回答