UI2Code / html_source /experiment1.html
3v324v23's picture
Initial commit with latest files
d5d3bd0
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<title>Google</title>
<style>
body {
display: flex;
flex-direction: column;
justify-content: space-between;
/* Adjusted alignment */
height: 100vh;
margin: 0;
font-family: 'Roboto', sans-serif;
background-color: white;
}
.logo {
margin-top: 50px;
/* Adjusted top margin */
}
.search-bar {
display: flex;
justify-content: center;
}
.search-input {
width: 600px;
height: 40px;
border: 1px solid #dcdcdc;
border-radius: 24px;
padding: 0 20px;
font-size: 16px;
}
.buttons {
display: flex;
justify-content: center;
margin-top: 20px;
}
.buttons button {
background-color: #f8f8f8;
border: 1px solid #dcdcdc;
border-radius: 4px;
padding: 10px 20px;
margin: 0 4px;
cursor: pointer;
font-size: 14px;
}
.google-offered {
display: flex;
justify-content: center;
font-size: 14px;
color: #777;
}
.footer {
background-color: #f2f2f2;
/* Added background color */
width: 100%;
/* Full width */
text-align: center;
/* Centered text */
padding: 10px 0;
/* Padding for spacing */
font-size: 14px;
color: #777;
border-top: 1px solid #dcdcdc;
/* Top border */
}
</style>
</head>
<body>
<div class="logo">
<img src="https://placehold.co/400x200.png?text=Google+Doodle" alt="Google Doodle" width="400">
</div>
<div class="search-bar">
<input type="text" class="search-input" placeholder="Search Google or type a URL">
</div>
<div class="buttons">
<button>Google Search</button>
<button>I'm Feeling Lucky</button>
</div>
<div class="google-offered">Google offered in: <a href="#">繁體中文</a></div>
<div class="footer">
Taiwan<br>
About | Advertising | Business | How Search works
</div>
</body>
</html>