<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>javascript测试</title>
<script type="text/javascript">
function myclic(x){
x.style.borderRadius="50px"
}
</script>
</head>
<body>
<div style="width: 100px;height: 100px;border:1px,solid,#ccc;background:pink;" onclick="myclic(this)"></div>
</body>
</html>