Skip to content

Commit

Permalink
fix(styles): missing placeholder styles for Firefox and other browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Mar 1, 2016
1 parent 057fbe2 commit 784112b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions _app/_posts/note/2014-06-05-markup-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,9 @@ Careful Skippy, you really aren’t as convincing as you think you are.
##### H5 Heading
###### H6 Heading
```

## Newsletters Signup Form

<form action="http://email.sparanoid.com/t/j/s/uykhir/" method="post">
<input name="cm-uykhir-uykhir" type="email" placeholder="Your Email" required>
</form>
8 changes: 6 additions & 2 deletions _app/assets/themes/curtana/_less/reset.less
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ del {
background: fade(@link-color, 10%);
}

::-webkit-input-placeholder {
::placeholder {
color: @text-color;
opacity: .1;
opacity: .2;

:focus& {
color: @link-color;
}
}

0 comments on commit 784112b

Please sign in to comment.