Skip to content

Instantly share code, notes, and snippets.

@grovesdm
Last active December 4, 2018 10:13
Show Gist options
  • Save grovesdm/c49677c56f6558fcb7303d2ac14e814c to your computer and use it in GitHub Desktop.
Save grovesdm/c49677c56f6558fcb7303d2ac14e814c to your computer and use it in GitHub Desktop.
A selection of styling tips for HTML forms

I could just write in md

input,
select,
textarea {
    background-color: #fff;
\!h    border-color: #e0e0e0;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    border-width: 1px;
    border-style: solid;
    color: #474e57;
    font-size: 16px;
    font-weight: 400;
    padding: 10px;
    width: 100%;
}
Here are AWS permissions for publicly-readable S3 buckets:
```ruby
{
"Version": "2008-10-17",
"Statement": [{
\!h "Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": { "AWS": "*" },
"Action": ["s3:GetObject"],
\!h "Resource": ["arn:aws:s3:::bucket/*" ]
}]
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment