Skip to content

Commit

Permalink
add css for new video form
Browse files Browse the repository at this point in the history
  • Loading branch information
RbAvci committed May 16, 2024
1 parent b1d7768 commit 8b23a18
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
55 changes: 55 additions & 0 deletions client/src/NewVideoForm.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/* CSS for NewVideoForm component */
div {
max-width: 500px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: #f9f9f9;
}

h2 {
text-align: center;
color: #333;
margin-bottom: 20px;
}

form {
display: flex;
flex-direction: column;
gap: 15px;
}

div>div {
display: flex;
flex-direction: column;
}

label {
font-weight: bold;
margin-bottom: 5px;
color: #555;
}

input {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}

button {
padding: 10px 20px;
border: none;
border-radius: 5px;
background-color: #007bff;
color: #fff;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}

button:hover {
background-color: #0056b3;
}
1 change: 1 addition & 0 deletions client/src/NewVideoForm.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "./NewVideoForm.css";
const NewVideoForm = () => {
const handleSubmit = (e) => {
e.preventDefault();
Expand Down

0 comments on commit 8b23a18

Please sign in to comment.