Skip to content

Instantly share code, notes, and snippets.

@ahmedlahrizi
Created June 23, 2021 18:06
Show Gist options
  • Save ahmedlahrizi/230de4ca697348b43092bb69b9d79ca0 to your computer and use it in GitHub Desktop.
Save ahmedlahrizi/230de4ca697348b43092bb69b9d79ca0 to your computer and use it in GitHub Desktop.
.contacts {
display: grid;
width: 90%;
grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
gap: 1.5rem;
margin: auto;
}
.contact {
border: 1px solid rgba(0, 0, 0, .125);
font-size: 125%;
border-radius: .25em;
}
.delete {
font-size: 1.3rem;
padding: .375em .75em;
background-color: var(--bs-danger);
border: none;
border-radius: .25em;
text-align: center;
color: #FFF;
}
.contact > * {
margin: .4em 2rem;
}
.contact form * {
align-self: flex-end;
}
.contact form {
height: 100%;
display: flex;
}
.contact *:nth-child(2) {
color: var(--bs-blue);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment