Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ajaykarthikr/7e1433dd39f6efd079cf85a937c19676 to your computer and use it in GitHub Desktop.
Save ajaykarthikr/7e1433dd39f6efd079cf85a937c19676 to your computer and use it in GitHub Desktop.
<html>
<head>
<style type="text/css">
#header {
padding: 0 !important;
}
.content {
width: 100%;
height: 12px;
background-color: #42a5f6;
color: white;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
font-size: 8px;
text-align: center;
justify-content: center;
align-items: center;
display: flex;
}
.span-title {
font-weight: bold;
}
</style>
</head>
<body>
<div class="content">
<span class="span-title">Header</span>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment