Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE]: Move css to static\styles.css #6

Open
Vyvy-vi opened this issue Sep 22, 2023 · 0 comments
Open

[CHORE]: Move css to static\styles.css #6

Vyvy-vi opened this issue Sep 22, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@Vyvy-vi
Copy link
Owner

Vyvy-vi commented Sep 22, 2023

Chore Request

Describe the work

Extract CSS from templates/index.html file into a separate CSS file in static\ folder, fetch the same via link rel="spreadsheet"

<style>
.error-message {
color: red;
}
.error input {
box-shadow: 0 0 3px #cc0000;
}
.valid input {
box-shadow: 0 0 3px #36cc00;
}
</style>

Additional information

Ref: https://fastapi.tiangolo.com/advanced/templates/?h=css#templates-and-static-files

@Vyvy-vi Vyvy-vi added the good first issue Good for newcomers label Sep 22, 2023
@Vyvy-vi Vyvy-vi changed the title [CHORE]: [CHORE]: Move css to static\styles.css Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant