Skip to content

Instantly share code, notes, and snippets.

@fulminator
Created November 11, 2012 23:24
Show Gist options
  • Save fulminator/4056691 to your computer and use it in GitHub Desktop.
Save fulminator/4056691 to your computer and use it in GitHub Desktop.
Virtual Keyboard CSS
#le_div {
width: 382px;
margin-left: auto;
margin-right: auto;
background: url("grid.png") #dd4f28;
-webkit-border-top-left-radius: 12px;
-webkit-border-top-right-radius: 12px;
-moz-border-radius-topleft: 12px;
-moz-border-radius-topright: 12px;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
textarea {
display: block;
width: 382px;
height: 188px;
resize:none;
margin-left: auto;
margin-right: auto;
}
table {
width: 324px;
border-spacing: 8px;
text-align:center;
table-layout: fixed;
overflow: hidden;
}
td, th {
width: 14px;
padding: 5px;
background-color: #dd4f28;
border: 2px solid #fff;
border-top-style:hidden;
border-right-style:solid;
border-bottom-style:outset;
border-left-style:hidden;
color: #fff;
line-height: 10px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment