mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-17 11:55:31 -04:00
add Prettier to workflow 🎀 (#128)
* prettier init
* prettier ignore
* run on everything 😬
* add prettier check script
* update deps
* Update .prettierignore
This commit is contained in:
@@ -16,13 +16,13 @@ draft: false
|
||||
|
||||
If you examine [my homepage](/) long enough, you might notice the 👋 hand emoji at the top subtly waving at you. This was easily accomplished using a few lines of CSS with a feature called [`@keyframes`](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes) — no bulky GIFs involved, and no JS mess or jQuery overkill required.
|
||||
|
||||
Below are the code snippets you can grab and customize to make your own
|
||||
["waving hand" 👋](https://emojipedia.org/waving-hand-sign/) emojis ***actually wave***, and a [CodePen playground](https://codepen.io/jakejarvis/pen/pBZWZw) for live testing.
|
||||
Below are the code snippets you can grab and customize to make your own ["waving hand" 👋](https://emojipedia.org/waving-hand-sign/) emojis **_actually wave_**, and a [CodePen playground](https://codepen.io/jakejarvis/pen/pBZWZw) for live testing.
|
||||
|
||||
{{< codepen username="jakejarvis" id="pBZWZw" left-tab="css" right-tab="result" >}}
|
||||
|
||||
### CSS:
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```css
|
||||
span.wave {
|
||||
animation-name: wave-animation; /* Refers to the name of your @keyframes element below */
|
||||
@@ -45,6 +45,7 @@ span.wave {
|
||||
|
||||
### HTML:
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```html {linenos=false}
|
||||
<span class="wave">👋</span>
|
||||
```
|
||||
|
Reference in New Issue
Block a user