Home > front end >  Js for help
Js for help

Time:09-24

The zha to brothers  according to the topic request

CodePudding user response:

<style>
# mybox {
Width: 100 px;
height: 100px;
border: 1px solid #ccc;
margin-top: 20px;
}
</style>


<script>
The function changeborder () {
Var id=document. GetElementById (' mybox ');
Id. Style. Border='1 px solid is red;
}
</script>
  • Related