CSS


/* Flag > IT
** @webbeloz > lab
*/
div {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 150px;
  box-shadow: inset 100px 0px 0px green,
    inset 200px 0px 0px white,
    inset 0px -300px 0px red;
}
div:before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -10px;
  left: -5px;
  width: 10px;
  height: 350px;
  background: maroon;
  z-index: 2;
  border-radius: 4px 4px 0 0;
}
div:after {
	position: absolute;
	content: '';
	display: inline-block;
	top: 337px;
	left: -29px;
	width: 60px;
	height: 11px;
	border-radius: 10px;
	background: #9b9b9b;
	background: -moz-radial-gradient(center, ellipse cover,
      #9b9b9b 0%, #cccccc 22%, #ffffff 89%);
	background: -webkit-gradient(radial, center center, 0px,
      center center, 100%, color-stop(0%,#9b9b9b),
      color-stop(22%,#cccccc), color-stop(89%,#ffffff));
	background: -webkit-radial-gradient(center, ellipse cover,
      #9b9b9b 0%,#cccccc 22%,#ffffff 89%);
	background: -o-radial-gradient(center, ellipse cover,
      #9b9b9b 0%,#cccccc 22%,#ffffff 89%);
	background: -ms-radial-gradient(center, ellipse cover,
      #9b9b9b 0%,#cccccc 22%,#ffffff 89%);
	background: radial-gradient(ellipse at center,  #9b9b9b 0%,
      #cccccc 22%,#ffffff 89%);
  z-index: 0;
}


JS




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