JSFiddle - React, Tailwind, and code Playground
HTML
<div id = "window">
<div id = "header">
<div id = "left">
<table id = "title">
<tr>
<td>
<img src = "https://openmerchantaccount.com/img/chromeico.png" alt = "()" id = "chromeico" />
</td>
<td><span>Untitled - ...</span></td>
</tr>
</table>
</div>
<div id = "right">
<table id = "buttons">
<tr>
<td>
<div id = "underscore"></div>
</td>
<td>
<div id = "max">
<div id = "max_inner">
</div>
</div>
</td>
<td><span>X</span></td>
</tr>
</table>
</div>
</div>
<div id = "content">
<div id = "address">
<table id = "address_table">
<tr>
<td>
<div id = "paper"></div>
</td>
<td>
<span id = "about">about:</span><span id = "blank">blank</span>
</td>
</tr>
</table>
</div>
<div id = "inner_content">
</div>
</div>
</div>
CSS
*
{
margin: 0;
padding: 0;
}
html, body
{
width: 100%;
height: 100%;
}
body
{
font-family: "Segoe UI";
}
#chromeico
{
width: 15px;
height: 15px;
vertical-align: middle;
padding-bottom: 1px;
}
#window
{
position: absolute;
width: 235px;
height: 180px;
border: 1px solid rgb(102, 102, 102);
left: 50px;
top: 50px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
-webkit-box-shadow: 0px 0px 14px 1px rgba(0,0,0,0.7);
-moz-box-shadow: 0px 0px 14px 1px rgba(0,0,0,0.7);
box-shadow: 0px 0px 14px 1px rgba(0,0,0,0.7);
}
#header
{
width: calc(100% - 16px);
height: 30px;
margin-left: auto;
margin-right: auto;
}
#header > #left
{
float: left;
}
#title tr td:first-child
{
}
#title tr td:nth-child(2) span
{
font-size: 12px;
padding-left: 5px;
vertical-align: middle;
font-weight: 450;
}
#header > #right
{
float: right;
}
#buttons
{
border: 0;
height: 20px;
border-spacing: 0;
}
#buttons td
{
text-align: center;
padding-bottom: 0px;
font-size: 12px;
}
#buttons td > span
{
color: rgb(232, 232, 232);
font-weight: bold;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
font-family: Arial black;
}
#buttons td:first-child
{
width: 30px;
border-left: 2px solid rgb(169, 169, 169);
border-bottom: 1px solid rgb(169, 169, 169);
border-bottom-left-radius: 5px;
background: #f5f5f5;
background: -moz-linear-gradient(top, #f5f5f5 0%, #e4e4e4 51%, #e4e4e4 51%, #d7d9e0 51%, #cdcdcd 51%, #d7d9e0 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(51%,#e4e4e4), color-stop(51%,#e4e4e4), color-stop(51%,#d7d9e0), color-stop(51%,#cdcdcd), color-stop(100%,#d7d9e0));
background: -webkit-linear-gradient(top, #f5f5f5 0%,#e4e4e4 51%,#e4e4e4 51%,#d7d9e0 51%,#cdcdcd 51%,#d7d9e0 100%);
...
JavaScript
//window.open("", "", "width=235, height=180");