Revamp this CSS body { background-color: white; font-family: Arial, sans-serif; margin:…
- User
Revamp this CSS body { background-color: white; font-family: Arial, sans-serif; margin: 1cm; } header { border-bottom: 0.1cm solid gray; padding-bottom: 10px; margin-bottom: 10px; text-align: center; } footer { border-top: 0.1cm solid gray; padding-top: 10px; margin-top: 10px; text-align: center; } ul { list-style-type: disc; margin-left: 2cm; }
ol { list-style-type: decimal; margin-left: 2cm; }
a { color: blue; text-decoration: none; }
a:hover { text-decoration: underline; }
blockquote { margin-left: 2cm; font-style: italic; }
h1 { font-size: 2.5em; text-align: center; margin-top: 0; }
h2 { font-size: 1.8em; }
p { line-height: 1.5; }
button { background-color: blue; color: white; padding: 10px; border: none; border-radius: 5px; cursor: pointer; }
button:hover { background-color: navy; }
input[type="text"], input[type="email"], input[type="password"], textarea { padding: 10px; border: 1px solid gray; border-radius: 5px; }
form { margin: 0 auto; max-width: 500px; }
.container { width: 80%; max-width: 1200px; margin: 0 auto; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; }
.gallery-item { margin: 10px; width: 300px; display: flex; flex-direction: column; align-items: center; border: 5px solid #a9a9a9; }
.gallery-item img { width: 100%; height: auto; }
.gallery-item p { margin: 10px 0 0; text-align: center; }
- Assistant
body { background-color: #fff; font-family: Arial, sans-serif; margin: 1cm; }
header { border-bottom: 1px solid #ccc; padding: 10px 0; margin-bottom: 10px; text-align: center; }
footer { border-top: 1px solid #ccc; padding: 10px 0; margin-top: 10px; text-align: center; }
ul { list-style: disc; margin-left: 2cm; }
ol { list-style: decimal; margin-left: 2cm; }
a { color: #00f; text-decoration: none; }
a:hover { text-decoration: underline; }
blockquote { margin-left: 2cm; font-style: italic; }
h1 { font-size: 2.5em; text-align: center; margin-top: 0; }
h2 { font-size: 1.8em; }
p { line-height: 1.5; }
button { background-color: #00f; color: #fff; padding: 10px; border: none; border-radius: 5px; cursor: pointer; }
button:hover { background-color: #000080; }
input[type="text"], input[type="email"], input[type="password"], textarea { padding: 10px; border: 1px solid #ccc; border-radius: 5px; }
form { margin: 0 auto; max-width: 500px; }
.container { width: 80%; max-width: 1200px; margin: 0 auto; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; }
.gallery-item { margin: 10px; width: 300px; display: flex; flex-direction: column; align-items: center; border: 5px solid #a9a9a9; }
.gallery-item img { width: 100%; height: auto; }
.gallery-item p { margin: 10px 0 0; text-align: center; }