Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 使用标记在reveal.js中浮动图像_Css_Reveal.js - Fatal编程技术网

Css 使用标记在reveal.js中浮动图像

Css 使用标记在reveal.js中浮动图像,css,reveal.js,Css,Reveal.js,我正试图让一个图像在discover.js演示文稿中向右浮动。为了便于移植,我希望在slides.md文件中包含任何自定义css和html 下面是一个示例幻灯片代码: --- ## Title <img src="https://en.wikipedia.org/wiki/File:SIPI_Jelly_Beans_4.1.07.tiff", style="height:30vh; background-color:white; float:right;"/> * L

我正试图让一个图像在discover.js演示文稿中向右浮动。为了便于移植,我希望在slides.md文件中包含任何自定义css和html

下面是一个示例幻灯片代码:

--- 

## Title

    <img src="https://en.wikipedia.org/wiki/File:SIPI_Jelly_Beans_4.1.07.tiff", style="height:30vh; background-color:white; float:right;"/>

* List item 1 blah blah blah blah blah 
* List item 2
* List item 3

---
--
##头衔
*列表项1诸如此类诸如此类
*清单项目2
*清单项目3
---
这部分起作用。如果列表元素合适,图像将显示在列表旁边。但是,如果页面很窄或列表元素很长,则列表将在图像下方结束

有没有办法强制文本换行? 作为一个更一般的问题,是否有一种方法可以将discover.js文本包装在图像周围