[英]html link to css isnt showing styles
網絡選項卡的屏幕快照我的外部CSS沒有顯示樣式。 我的html中有一個鏈接,但我認為CSS可能無法正常工作。 我是否需要在樣式表中添加其他元素才能使顯示正常工作?
.responsive {
width: 40%;
height: auto;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
}
.simple-subscription-form {
background: #000000;
color: #94C60D;
padding: 2rem;
border-radius: 0;
align-content: center
}
.simple-subscription-form.button {
margin-bottom: 0;
border-radius: 0 0 0 0;
}
#dialog-message {
display: none;
padding: 5px;
height: auto;
width: auto
}
div.hidden {
display: none;
}
您無法訪問文件系統。 使用您的項目資源文件夾。
使用<link rel="stylesheet" href="~/Resources/PATH + FILENAME">
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.