Ontario's picture
Build a responsive web-based Boost Mobile Receipt Generator that allows users to generate, preview, print, and download receipts as PDF.
b62701c verified
raw
history blame contribute delete
850 Bytes
/* Base styles */
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
}
/* Receipt styling */
#receiptPreview {
font-family: 'Courier New', monospace;
max-width: 350px;
margin: 0 auto;
background-color: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
/* Custom item row styling */
.item-row {
display: flex;
gap: 10px;
margin-bottom: 10px;
}
.item-row input {
flex: 1;
}
/* Animation for receipt update */
@keyframes receiptUpdate {
0% { transform: scale(1); }
50% { transform: scale(1.02); }
100% { transform: scale(1); }
}
.receipt-update {
animation: receiptUpdate 0.3s ease;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.grid-cols-1 {
grid-template-columns: 1fr;
}
#receiptPreview {
max-width: 100%;
}
}