Created
February 4, 2025 12:23
-
-
Save nataliaconde/243c483baf544f34bc0c2fc4c50d1b2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- journal.astro--> | |
--- | |
import Layout from "../layouts/Layout.astro"; | |
--- | |
<Layout> | |
<form> | |
<input name="title" type='text' placeholder="Title" id="title" class="title"/> | |
<textarea name="body" cols="30" rows="10" placeholder="Body..." class="body"></textarea> | |
<div> | |
<button class="log">Log</button> | |
</div> | |
</form> | |
</Layout> | |
<style> | |
form{ | |
margin-block-start: 3rem; | |
display: flex; | |
flex-direction: column; | |
gap: 1.5rem; | |
} | |
div{ | |
text-align: center; | |
} | |
input{ | |
outline: none; | |
border: none; | |
padding: 0.7rem; | |
font-family: 'Montserrat', sans serif; | |
color: #333333; | |
background-color: #FFFFFF; | |
border-radius: 12px; | |
} | |
input::placeholder{ | |
font-weight: bold; | |
font-family: 'Montserrat', sans serif; | |
color: #e2e2e2; | |
} | |
textarea{ | |
outline: none; | |
border: none; | |
padding: 0.7rem; | |
font-family: 'Montserrat', sans serif; | |
color: #333333; | |
background-color: #FFFFFF; | |
border-radius: 12px; | |
} | |
textarea::placeholder{ | |
font-weight: bold; | |
font-family: 'Montserrat', sans serif; | |
color: #e2e2e2; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment