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

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

當(dāng)@font-face出現(xiàn)后第一個(gè)字體圖標(biāo)glyphicon-envelope出現(xiàn)問(wèn)題是什么問(wèn)題

<style>

.glyphicon-envelope{

color: red;

font-size: 100px;

}

@font-face{

font-family:'Glyphicons Halflings';

src:url(fonts/glyphicons-halflings-regular.eot);

src:url(fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),

url(fonts/glyphicons-halflings-regular.woff2) format('woff2'),

url(fonts/glyphicons-halflings-regular.woff) format('woff'),

url(fonts/glyphicons-halflings-regular.ttf) format('truetype'),

url(fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}

</style>

</head>

<body>

<!--字體圖標(biāo),放大不會(huì)失真bootstrap組件Glyphicons 字體圖標(biāo);阿里巴巴矢量圖標(biāo)庫(kù)-->

<span class="glyphicon glyphicon-envelope"></span>

<button class="btn btn-default">

<span class="glyphicon glyphicon-star"></span>這是一個(gè)按鈕

</button>


正在回答

3 回答

我是老師的寫(xiě)法改成這個(gè)就完美了<link rel="stylesheet" > ?

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

Failed to load resource: the server responded with a status of 404 (Not Found)

這樣的錯(cuò)誤,如果將@font-face注釋掉glyphicon-envelope這個(gè)就可以顯示,但是star就不能顯示了

<link rel="stylesheet" type="text/css" href="css/css/bootstrap.min.css"/>

.glyphicon-envelope{

color: red;

font-size: 100px;

}

@font-face{

font-family:'Glyphicons Halflings';

src:url(fonts/glyphicons-halflings-regular.eot);

src:url(fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),

url(fonts/glyphicons-halflings-regular.woff2) format('woff2'),

url(fonts/glyphicons-halflings-regular.woff) format('woff'),

url(fonts/glyphicons-halflings-regular.ttf) format('truetype'),

url(fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}

</style>

</head>

<body>


<span class="glyphicon glyphicon-envelope"></span>

<button class="btn btn-default">

<span class="glyphicon glyphicon-star"></span>這是一個(gè)按鈕

</button>

</body>

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

出現(xiàn)問(wèn)題報(bào)錯(cuò)是怎么說(shuō)的呢? 復(fù)制你的代碼,這樣寫(xiě)是沒(méi)有出現(xiàn)問(wèn)題的

<link rel ="stylesheet" href="css/bootstrap.min.css">

<style>

.glyphicon-envelope{

color: red;

font-size: 30px;

}

</style>

</head>

<body>

<span class="glyphicon glyphicon-envelope"></span>

<button class="btn btn-default">

<span class="glyphicon glyphicon-star"></span>這是一個(gè)按鈕

</button>

</body>

</html>

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

舉報(bào)

0/150
提交
取消

當(dāng)@font-face出現(xiàn)后第一個(gè)字體圖標(biāo)glyphicon-envelope出現(xiàn)問(wèn)題是什么問(wèn)題

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

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

幫助反饋 APP下載

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

公眾號(hào)

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