make sure the output is the same but it is compatible to every popular browser adn will…
- User
make sure the output is the same but it is compatible to every popular browser adn will loo k the same to every browser. css:* { margin: 0; padding: 0; box-sizing: border-box; } @import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=swap"); html { scroll-behavior: smooth; font-family: "Roboto Mono", monospace; }
body { background-image: url(https://cdn.wallpapersafari.com/84/22/Jz6bAs.gif); background-size: cover; background-position: center; background-attachment: fixed; color: rgb(255, 255, 255); }
.container { max-width: 1200px; margin: 0 auto; }
h1 { font-weight: 300; } h2 { margin: 32px 0; text-align: center; color: white; }
h3 { color: white; margin: 20px 0; margin: 32px 0; text-align: center; }
p { margin: 16px 0; line-height: 1.5; color: white; }
/* Header */ header { text-align: center; }
header .container { padding: 48px; }
header nav ul { list-style-type: none; margin-top: 32px; }
header nav ul li { display: inline-block; }
header nav ul li a, .logo a { text-decoration: none; display: block; color: white; padding: 0 16px; }
.logo a { font-size: 40px; }
/* Hero Banner*/
#projects, #about, #skills { padding: 50px; min-height: 500px; }
@media only screen and (max-width: 400px) { #hero-banner h2 { font-size: 300%; color: white; text-align: center; padding-top: 150px; } }
/* Footer */ footer { background-color: rgb(0, 0, 0); text-align: center; color: rgb(255, 255, 255); font-size: 12px; padding: 8px; }
footer form { margin: 0 auto; width: 60%; text-align: center; }
footer form .form-group { margin: 2rem 0; display: flex; }
footer form label { width: 200px; display: inline-block; text-align: left; }
footer form .form-group input, footer form .form-group textarea { padding: 0.5rem 1rem; border-radius: 5px; border: none; width: 60%; font-size: 1rem; }
footer form .form-group textarea { min-height: 100px; }
.sisältö { display: flex; justify-content: center; align-items: center; }
/* Style the chatbot iframe */ iframe { border: none; height: 125vh; border-radius: 30px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); }
iframe { padding: 20px; }
@media (max-width: 768px) { iframe { width: 90vw; } }
@media (min-width: 769px) and (max-width: 1024px) { iframe { width: 80vw; } }
@media (min-width: 1025px) { iframe { width: 75vw; } }
#button-container { display: flex; justify-content: center; margin-bottom: 50px; } button { background-color: darkgreen; border-radius: 10px; border: none; color: #fff; font-size: 18px; padding: 10px 20px; margin: 0 10px; cursor: pointer; } button:hover { background-color: #444; } '
- Assistant
Ensure that the output is the same and compatible with all popular browsers:
- { margin: 0; padding: 0; box-sizing: border-box; }
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=swap');
html { scroll-behavior: smooth; font-family: 'Roboto Mono', monospace; }
body { background-image: url(https://cdn.wallpapersafari.com/84/22/Jz6bAs.gif); background-size: cover; background-position: center; background-attachment: fixed; color: #fff; }
.container { max-width: 1200px; margin: 0 auto; }
h1 { font-weight: 300; }
h2 { margin: 32px 0; text-align: center; color: #fff; }
h3 { color: #fff; margin: 32px 0; text-align: center; }
p { margin: 16px 0; line-height: 1.5; color: #fff; }
/* Header */
header { text-align: center; }
header .container { padding: 48px; }
header nav ul { list-style-type: none; margin-top: 32px; }
header nav ul li { display: inline-block; }
header nav ul li a, .logo a { text-decoration: none; display: block; color: #fff; padding: 0 16px; }
.logo a { font-size: 40px; }
/* Hero Banner */
#projects, #about, #skills { padding: 50px; min-height: 500px; }
@media only screen and (max-width: 400px) { #hero-banner h2 { font-size: 300%; color: #fff; text-align: center; padding-top: 150px; } }
/* Footer */
footer { background-color: #000; text-align: center; color: #fff; font-size: 12px; padding: 8px; }
footer form { margin: 0 auto; width: 60%; text-align: center; }
footer form .form-group { margin: 2rem 0; display: flex; }
footer form label { width: 200px; display: inline-block; text-align: left; }
footer form .form-group input, footer form .form-group textarea { padding: 0.5rem 1rem; border-radius: 5px; border: none; width: 60%; font-size: 1rem; }
footer form .form-group textarea { min-height: 100px; }
.sisältö { display: flex; justify-content: center; align-items: center; }
/* Style the chatbot iframe */ iframe { border: none; height: 125vh; border-radius: 30px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); padding: 20px; }
@media (max-width: 768px) { iframe { width: 90vw; } }
@media (min-width: 769px) and (max-width: 1024px) { iframe { width: 80vw; } }
@media (min-width: 1025px) { iframe { width: 75vw; } }
#button-container { display: flex; justify-content: center; margin-bottom: 50px; }
button { background-color: darkgreen; border-radius: 10px; border: none; color: #fff; font-size: 18px; padding: 10px 20px; margin: 0 10px; cursor: pointer; }
button:hover { background-color: #444; }