Skip to content

Instantly share code, notes, and snippets.

@fatecitu
Created September 2, 2025 22:43
Show Gist options
  • Select an option

  • Save fatecitu/6d9a0b1f372bcad6b3be1c4dc5c9a3a0 to your computer and use it in GitHub Desktop.

Select an option

Save fatecitu/6d9a0b1f372bcad6b3be1c4dc5c9a3a0 to your computer and use it in GitHub Desktop.
CSS Exemplo
body {
font-family: Arial, sans-serif;
background-color: #f7f7f7;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
.container {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
width: 420px;
text-align: center;
}
input, button {
padding: 10px;
margin: 5px 0;
font-size: 14px;
border-radius: 5px;
border: 1px solid #ccc;
width: 100%;
box-sizing: border-box;
}
button {
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background-color: #45a049;
}
ul {
list-style: none;
padding: 0;
margin-top: 15px;
text-align: left;
}
li {
padding: 8px;
margin-bottom: 5px;
background-color: #eee;
border-radius: 5px;
display: flex;
justify-content: space-between;
align-items: center;
}
.btn-secondary {
background-color: #007BFF;
}
.btn-secondary:hover {
background-color: #0056b3;
}
.btn-warning {
background-color: #ff9800;
}
.btn-warning:hover {
background-color: #e68900;
}
.btn-edit {
background-color: #f1c40f;
margin-left: 5px;
}
.btn-edit:hover {
background-color: #d4ac0d;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment