Skip to content

Instantly share code, notes, and snippets.

@23pointsNorth
Created November 18, 2020 13:59
Show Gist options
  • Save 23pointsNorth/7da24cc131592600712a93228dbbad27 to your computer and use it in GitHub Desktop.
Save 23pointsNorth/7da24cc131592600712a93228dbbad27 to your computer and use it in GitHub Desktop.
HTML to textbox look
<head>
<style>
body {
background-color: #fefbd8;
}
h1 {
background-color: #80ced6;
}
div {
border-width: 1px solid #73AD21;
width: 500px;
background-color: #d5f4e6;
}
span {
background-color: #018973;
}
p span {
background-color: #00f303;
}
p {
background-color: #000000;
}
table td{
background-color: #0f0f03;
}
</style>
</head>
<body>
<div>
<p><span> TEST something here, where only the text is in a background </span> </p>
<p> another thing with the whole element crossed out </p>
<div>
<h1>A sensible heading</h1>
<p>This a short test</p>
<span>Another line</span>
<p>This is a long text. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<div>
<table>
<tbody>
<tr>
<td>Items</td>
<td>count</td>
<td>total price</td>
</tr>
<tr>
<td>item1</td>
<td>1</td>
<td>0.5</td>
</tr>
<tr>
<td>item2</td>
<td>2</td>
<td>0.5</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Total</td>
<td>1.00</td>
</tr>
</tbody>
</table>
</div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment