You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 007d128
Browse filesBrowse the repository at this point in the historyBrowse files
excerpt: In this video we review the opacity property.
4
6
published: draft
5
7
slug: round-loading-indicator
6
8
start: June 11, 2022
9
+
section: Feedback
7
10
title: Round Loading Indicator
11
+
weight: 1
8
12
---
9
13
10
14
In this HTML snippet you can see that we are using a span that has a special `data-value` attribute. This allows us to store the current value on the HTML element depending on how much loading has occured. There is also a SVG element here that has a stroke yellow and what is more important though is the stroke width of 20, this will set how large the animated portion of the SVG will be displayed.
You will notice that in the below [Codepen](https://codepen.io/codercatdev/pen/vYdpGNW) there is some JavaScript, this is just for updating the text to say `true` or `false`.
74
+
You will notice that in the below [Codepen](https://codepen.io/codercatdev/pen/vYdpGNW) there is some JavaScript, this is just for updating the text to say `true` or `false`.
excerpt: In this lesson we create a checkbox that transforms into a checkmark just only css.
6
+
published: draft
7
+
slug: material-checkbox-without-material
8
+
start: June 11, 2022
9
+
title: Material Checkbox without Material
10
+
weight: 2
11
+
youtube:
12
+
---
13
+
14
+
The main HTML is very simple, having just two key elements `input` and `span`.
15
+
16
+
```html
17
+
<label>
18
+
<inputtype="checkbox" />
19
+
<spanclass="checkbox"></span>
20
+
</label>
21
+
```
22
+
23
+
In order to create the checkmark it is nothing more than a bottom, and left border colored green. The key here is that it is then rotated `45deg` to make it look like a check mark.
excerpt: JavaScript Confetti library 💥 Supports emojis as confetti⚡️ Zero dependencies used🦄 Works without any config, yet configurable🛠 Has TypeScript typings🧩 Confetti speed adapts to user screen width.
5
6
published: published
6
7
section: 3rd Party Libraries
7
8
slug: js-confetti
8
9
start: July 22, 2022
9
10
title: JavaScript Confetti library
10
-
youtube: https://youtu.be/5Z7v2LasFCU
11
+
weight: 3
11
12
---
12
13
13
14
[JavaScript Confetti Library](https://www.npmjs.com/package/js-confetti) is an amazingly simple yet powerful tool, that you can add to any website for just 3.2kB [br compressed](https://en.wikipedia.org/wiki/Brotli).
@@ -18,82 +19,76 @@ All you need to add to your `<head>` is the below script.
0 commit comments