Skip to content

style.css

SouravOfficialBag edited this page Feb 18, 2022 · 1 revision

*{ box-sizing: border-box; }

body{ margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; }

header h1{ text-align: center; color: white; font-size: 45px; }

header{ padding: 50px; background-color: palevioletred; }

nav{ background-color: #333; overflow: hidden; width: 100%; }

.sticky { position: fixed; top: 0; width: 100%; }

.spacea{ margin-left: 90px; }

nav a{ text-decoration: none;
float: left; margin-right: 20px; text-align: center; color: white; font-size: 17px; padding: 17px; }

h2{ margin-left: 60px; }

main{ padding: 50px; }

p{ margin-left: 60px; font-size: 20px; text-align: justify; }

#imag1{ margin-left: 200px; margin-top: 50px; height: 200px; width: 400px; }

#imag2{ margin-left: 60px; height: 200px; width: 400px; }

#imag3{ margin-left: 200px; height: 200px; width: 400px; }

#imag4{ margin-left: 60px; height: 200px; width: 400px; }

#imag5{ margin-left: 200px; height: 200px; width: 400px; margin-bottom: 50px; }

#imag6{ margin-left: 60px; height: 200px; width: 400px; margin-bottom: 50px; }

input[type="text"], input[type="email"], textarea{ width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; margin-top: 6px; margin-bottom: 16px; resize: vertical; }

input[type="submit"]{ margin-left: 60px; background-color: #04AA6D; color: white; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; }

.footer{ left: 0; bottom: 0; padding: 10px; width: 100%; background-color: #333; color: white; text-align: center; }

Clone this wiki locally