Example of css template

Example of css template Here is a basic CSS template that you can use for any website. This template sets some essential styles such as colors, fonts, and layout to make the page look more professional. Basic CSS Template /* Importing a font from Google Fonts */ @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;700&display=swap'); /* Resetting default browser styles */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; } /* Styling the body */ body { background-color: #f4f4f4; color: #333; line-height: 1.6; padding: 20px; } /* Styling the main heading */ h1 { color: #222; text-align: center; margin-bottom: 20px; } /* Styling buttons */ button { background-color: #007bff; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s; } button:hover { background-color: #0056b3; } ...