【发布时间】:2020-10-31 14:11:27
【问题描述】:
div class="header" id="hd">
<div class="overlay">
<ul class="bxslider">
<li>
<h2>welcome to <span>plus resturent</span></h2>
<h3>the best tasting experience</h3>
<p>Olive is a Resturant,coffee roastery located on Jordan.
we have awesome recips and the most talented chefs in town!</p>
<button class="btn" id="mybtn">creat account</button>
<div id="mymodal" class="modal">
<div class="modal-content">
<div class="modal-header">
<span class="close" id="spn">×</span>
<h2>modal header</h2>
</div>
<div class="modal-body">
<p>kkcmsakfm.sdf</p>
</div>
<div class="modal-footer">
<h3>dgdsg</h3>
</div>
</div>
</div>
</li>
<li>
<h2>we sereve quality food</h2>
<h3></h3>
</li>
<li>
<h2>welcome to <span>plus resturent</span></h2>
<h3>welcome to slider three</h3>
</li>
</ul>
</div>
</div>
【问题讨论】:
-
您想从 span 中获取 span 和
mymodal、mybtnid 的类吗?
标签: javascript html jquery css bootstrap-4