JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
</head>
<body>
<svg class="me" width="145" height="65"><rect class="rect_style rect_color_1 rect_obvious" x="3" y="3" rx="20" ry="20" width="140" height="60" ></svg>
<button onclick="remove_R()">remove</button>
</body>
</html>
CSS
.rect_style {
stroke:black;
stroke-width:5;
}
.rect_color_1{
fill:#FFC863;
}
.rect_obvious{
opacity:1;
}
.rect_none{
opacity: 0;
}
JavaScript
function remove_R() {
$(".me rect").removeClass("rect_obvious");
}