Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface: outline on SVG containers, reference</title>
<style>
.outline { outline: 4px solid green; }
</style>
<svg width="100" height="100">
<rect class="outline" x="20" y="20" width="60" height="60" fill="lightgreen"/>
</svg>