【问题标题】:incremental slide in class:middle: stuff move around课堂上的增量幻灯片:中间:东西四处移动
【发布时间】:2020-02-21 08:30:09
【问题描述】:

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

---
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】:

    试试这个

    ---
    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 内边距,所以当高度改变时它不会被上推。

    【讨论】:

      猜你喜欢
      • 2021-08-13
      • 1970-01-01
      • 2019-09-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-02-05
      • 2015-04-21
      相关资源
      最近更新 更多