我对 Expression Web 很陌生。我使用 Microsoft Expression Web 4。我不知道为什么,但我不能在按钮上使用边框半径。该属性被标记为无效,因为当前架构不支持它。HTML:
<!DOCTYPE html>
<html>
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
<link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<header class="header">
<div class="container">
<div class="nav">
<h1 style="width: 868px">Flashcards</h1>
<div>
<button class="button1">
Add Flashcard
</button>
<button class="button1">
Delete Flashcard
</button>
</div>
</div>
</div>
</header>
<div class="container">
<div class="createmabox">
<label for="question">Questions</label>
<textarea id="question"></textarea>
<br>
<label for="answer">Answers</label>
<textarea id="answer"></textarea>
<div>
<button onclick="AddFC()" class="button1">Save</button>
<button onclick="CancelFCBox()" class="button1">Cancel</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
CSS:
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
*{
margin:0;
padding:0;
}
body{
font-family:'Quicksand', sans-serif;
background-color:#F5F5F5
}
header{
background-color:#3E8BFF
}
button{
background-color:gray;
border-radius:4px;
margin:4px;
}
显示的错误是:该属性被标记为无效,因为当前架构不支持它