第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

都按照要求做了啊 為什么點(diǎn)擊彈出不了??

都按照要求做了啊 ?為什么點(diǎn)擊彈出不了??

<!DOCTYPE?HTML>
<html>
<head>
<meta?http-equiv="Content-Type"?content="text/html;?charset=utf-8">
<title>模態(tài)彈出窗的使用</title>
<link?rel="stylesheet"?>
</head>
<body>
<!--下面是代碼任務(wù)部分-->

<!--?href觸發(fā)模態(tài)彈出窗元素?-->
<a?class="btn?btn-primary"?data-toggle="modal"?href="mymodal-link">通過鏈接href屬性觸發(fā)</a>
<!--?模態(tài)彈出窗內(nèi)容?-->
<div?class="modal"?tabindex="-1"?role="dialog"?aria-labelledby="myLargeModalLabel"?aria-hidden="true"?id="mymodal-link">
????<div?class="modal-dialog">
????	<div?class="modal-content">
			<div?class="modal-header">
				<button?type="button"?class="close"?data-dismiss="modal"><span?aria-hidden="true">&times;</span><span?class="sr-only">Close</span></button>
				<h4?class="modal-title">模態(tài)彈出窗標(biāo)題</h4>
			</div>
			<div?class="modal-body">
				<p>模態(tài)彈出窗主體內(nèi)容</p>
			</div>
			<div?class="modal-footer">
				<button?type="button"?class="btn?btn-default"?data-dismiss="modal">關(guān)閉</button>
				<button?type="button"?class="btn?btn-primary">保存</button>
			</div>
		</div>
	</div>
</div>

<!--?data-target觸發(fā)模態(tài)彈出窗元素?-->
<button?type="button"?class="btn?btn-primary"?data-target="mymodal-data"?data-toggle="modal">通過data-target觸發(fā)</button>

<!--?模態(tài)彈出窗內(nèi)容?-->
<div?class="modal?fade"?id="mymodal-data"?tabindex="-1"?role="dialog"?aria-labelledby="mySmallModalLabel"?aria-hidden="true">
	<div?class="modal-dialog">
		<div?class="modal-content">
			<div?class="modal-header">
				<button?type="button"?class="close"?data-dismiss="modal"><span?aria-hidden="true">&times;</span><span?class="sr-only">Close</span></button>
				<h4?class="modal-title">模態(tài)彈出窗標(biāo)題</h4>
			</div>
			<div?class="modal-body">
				<p>模態(tài)彈出窗主體內(nèi)容</p>
			</div>
			<div?class="modal-footer">
				<button?type="button"?class="btn?btn-default"?data-dismiss="modal">關(guān)閉</button>
				<button?type="button"?class="btn?btn-primary">保存</button>
			</div>
		</div>
	</div>
</div>
<script?src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
<script?src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>?
</body>
</html>


正在回答

4 回答

可以把html中的css樣式代碼放入style.css文件中可以,也就是style.css是寫css樣式代碼的。錯(cuò)

0 回復(fù) 有任何疑惑可以回復(fù)我~

因?yàn)槟愣紱]加# ,href和data-target里的id都要加#

1 回復(fù) 有任何疑惑可以回復(fù)我~

要加上css選擇器里面的id #符號

0 回復(fù) 有任何疑惑可以回復(fù)我~

href值和data-target值前面加#

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

都按照要求做了啊 為什么點(diǎn)擊彈出不了??

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號