Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite JS code, add parceljs with babel
- Loading branch information
Showing
17 changed files
with
7,734 additions
and
21,666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"presets": ["env"], | ||
"plugins": ["transform-runtime"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ _site | |
.jekyll-metadata | ||
/.DS_Store | ||
.DS_Store | ||
node_modules | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
<div class="textarea-box"> | ||
<textarea autofocus | ||
class="textarea textarea-left js-input" | ||
placeholder="/* Put your CSS code in the left column, instead of example, to add or remove unnecessary prefixes. */"></textarea> | ||
<textarea autofocus | ||
class="textarea textarea-left js-input">{% if page.lang == 'ru' %}/* Вставьте ваш CSS сюда вместо этого примера */{% endif %}{% if page.lang == 'en' %}/* Paste your CSS here instead of this example */{% endif %} | ||
|
||
<pre class="textarea textarea-right" contenteditable=""><code class="language-css js-output">/* Here is your CSS with the appropriate prefixes */</code></pre> | ||
.example { | ||
display: flex; | ||
transition: all .5s; | ||
user-select: none; | ||
background: linear-gradient(to bottom, white, black); | ||
}</textarea> | ||
|
||
<pre class="textarea textarea-right" | ||
contenteditable=""><code class="language-css js-output"><strong>Loading...</strong></code></pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.