5
div의 둥근 테두리를 투명하게 만들어야합니다. 이 코드Chrome의 투명한 둥근 테두리
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Test</title>
<style>
body
{
background-color: green;
}
#demobtn
{
height: 10%;
width: 18%;
left: 50%;
top: 50%;
border: solid;
border-width: 4px;
border-color: rgba(0, 0, 0, 0.5);
-webkit-border-radius: 18%/50%;
border-radius: 18%/50%;
background-color: white;
-webkit-background-clip: content;
background-clip: content-box;
margin: 0.25%;
padding: 0%;
position: relative;
}
</style>
</head>
<body>
<div id="demoBtn"></div>
</body>
크롬이 올바른 방법으로 코너에 투명성을 관리하지 않는 동안은 파이어 폭스에서 완벽하게 작동을합니다.
가 어떻게이 문제를 해결할 수 : 다음은 결과입니다?