HTML


<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="-205 -205 410 410">
<circle r="200" class="mus" fill="orange" />
</svg>


CSS


body {
  margin:0;
  height:100%;
}
svg {
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  /*width:100%;*/ /* > fix center */
  height:100%;
}
.mus {
  stroke-width:10px;
  stroke-location: inside; /* ?new, wait...*/
  stroke:black;
  stroke-linecap:round
}


JS


var svg  = document.getElementsByTagName('svg')[0];
var svgWBLZ = svg.getAttribute('xmlns');

function draW( root, name, attrWZ ){
  var el = document.createElementNS(svgWBLZ,name);
  for (var attr in attrWZ){
	if (attrWZ.hasOwnProperty(attr)) el.setAttribute(attr,attrWZ[attr]);
  }
  return root.appendChild(el);
}    
draW( svg, 'path', {
  fill:"none", "class":"mus", transform:"translate(-396,-230)", d:"M487.41,282.411c-15.07,36.137-50.735,61.537-92.333,61.537 c-41.421,0-76.961-25.185-92.142-61.076"
});
draW( svg, 'circle', { cx:-80, cy:-50, r:30, fill:'#000' });
draW( svg, 'circle', { cx: 80, cy:-50, r:30, fill:'#000' });




CodePlay Playground as you play with the keyboard:

Console

The CodePlay Code Box Editors Playground is very simple to use, anyone can directly interact with a minimum of knowledge of HTML experience, live an idea or a project. We believe that only 5% of the developers has the full capacity and knowledge of each key on the keyboard. Therefore we decided to put together a single command from the Key [Esc] == 27.
For every need and every situation the keyboard [Esc] key fixes and puts in place the Original Initial Code Box Editors.
All this without losing the contents of each Box Editors .
!Enjoy your CodePlay.


CodePlay Playground is a project based on WordPress entirely revised to have a clean and dynamic HTML output.

Editor:

- [Esc] To reset the Box Editors and the closure of any open window overlay, including the Output (FULL) Preview.

New! - Double Click to Expand /Open & Close All Box Editors

New! - Ctrl + Up/Down to Show /Hide the Footer Bar. This allows hide footer bar when you want, + ESC to Back.

New! - Preview in Full page is now also possible via dblClick on the Vertical Drag-bar. Each keyboard action can be Reset via the ESC button.


Ex.
- Close this? [Esc], or a Click outside.


Front End User - New /Save Post is Now Open, Register *required.
New Play Now