课堂上的幻灯片:中间:东西四处移动

问题描述 投票:0回答:1

当列表变大时,文本正在移动,因为它希望位于中间,可以通过任何方式更改该行为,同时将元素保留在中间(如幻灯片的上一版或第一版)

---
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
xaringan remarkjs
1个回答
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填充,因此当高度改变时不会被向上推。

© www.soinside.com 2019 - 2024. All rights reserved.