html - 在文本之上显示文本
问题描述
我正在尝试使用 bootstrap4 在文本顶部显示文本
我的 HTML 看起来像这样
<div class="d-lg-flex align-items-lg-start intro-heading text-uppercase">
<span class="text-black-50 d-inline float-none" style="width:749px;filter: blur(2px);margin: 0px;">
INTRODUCTION</span>
<span class="text-white d-inline float-none" style="width:749px;filter: blur(0px);color: #ffffff;">INTRODUCTION</span>
</div>
我希望文本不是并排显示,而是显示在其他文本之上,如果有人可以提供帮助,将不胜感激
解决方案
<div>
<span class="text-white d-inline float-none" style="width:749px;filter: blur(0px);color: #00000;">Whatever your text is</span>
</div>
<br>
<div class="d-lg-flex align-items-lg-start intro-heading text-uppercase">
<span class="text-black-50 d-inline float-none" style="width:749px;filter: blur(2px);margin: 0px;">
INTRODUCTION</span>
<span class="text-white d-inline float-none" style="width:749px;filter: blur(0px);color: #ffff;">INTRODUCTION</span>
</div>
<br>
<div>
<span class="text-white d-inline float-none" style="width:749px;filter: blur(0px);color: #00000;">Whatever your text is</span>
</div>
推荐阅读
- allennlp - 如何在非英语语言上训练 AllenNLP SRL?
- python - 是否可以使用 python 创建带有 sha_hash 的 SHACertificate?
- c++ - 如何从 Slot 中获取整数值并将其传递给另一种形式?
- python - 数据框的匹配列将返回另一个数据框的列的值
- azure-pipelines - 将参数文件包含到管道中
- django - 如何在 Django 中为抽象基类获取唯一的序列号?
- angular - Interrupt sequential concatMap calls after error happens in one of them
- reactjs - reactjs在重新渲染父组件时弹出打开和关闭
- gulp - 如何修复 gulpfile.js 以避免“您是否忘记发出异步完成信号?” 当运行“gulp ngrok-serve”并且没有定义任务时?
- javascript - Select2 奇怪的下拉定位