Image Compressor
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
color: #333;
font-size: 2.5em;
margin-bottom: 20px;
}
.upload-container {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 500px;
text-align: center;
}
.upload-container input[type="file"] {
margin-bottom: 20px;
}
.slider-container {
margin-bottom: 20px;
}
.slider-container label {
font-size: 1.2em;
color: #555;
}
.slider {
width: 100%;
}
.results-table {
width: 100%;
max-width: 800px;
margin-top: 20px;
border-collapse: collapse;
background: #fff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
}
.results-table th, .results-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
.results-table th {
background-color: #6200ea;
color: white;
}
.results-table tr:hover {
background-color: #f1f1f1;
}
.emoji {
font-size: 1.5em;
}
.compress-btn {
background-color: #6200ea;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1.2em;
}
.compress-btn:hover {
background-color: #3700b3;
}
.download-btn {
background-color: #4caf50;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
font-size: 0.9em;
}
.download-btn:hover {
background-color: #45a049;
}
📷 Image Compressor 🖼️
| File Name | Original Size | Compressed Size | Status | Download |
|---|
