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
Copy file name to clipboardExpand all lines: src/_includes/ui/md/card/post.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ There isn’t much work with the card component because the requirements mainly
4
4
5
5
- if you use an image, you must set a [proper](https://adamlaki.com/bite-sized-accessibility/4-write-better-alt-text/)`alt` value.
6
6
- If you list them, using a list with `<ul>` and `<li>` is a good idea.
7
-
- If you have a publication date, use the <code><ahref="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time">time</a></code> element.
7
+
- If you have a publication date, use the <code><ahref="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/time">time</a></code> element.
Copy file name to clipboardExpand all lines: src/blog/4-areas-where-modern-css-solves-a-lot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Now have the `:has` selector, which is basically a parent selector. We can check
16
16
17
17
Designing for multi-directional content can be a pain. If you have to support both LTR and RTL, you had to do more work in the past.
18
18
19
-
With the new sets of [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties), no more are left/right or top/bottom; we can declare a direction relatively.
19
+
With the new sets of [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values), no more are left/right or top/bottom; we can declare a direction relatively.
20
20
21
21
Using logical values helps us to make a layout RTL from LTR easier.
Copy file name to clipboardExpand all lines: src/blog/about-modern-sass.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,12 +32,12 @@ To talk about modern Sass, first, we must speak a little about old Sass. Let’s
32
32
33
33
- One of its popular features of it was variables. Storing anything in a variable and reusing its value is present in a programming language, not a style sheet language. Of course, we use this feature today, but now we have CSS custom properties.
34
34
- Making a grid system with CSS wasn’t viable, so we reached out for mixins and functions to make some generators for them.
35
-
- We used a lot of mixin for hacks. I’m sure you know the [iframe hack](https://www.hacksoft.io/blog/responsive-iframes). Today we can use the new [aspect-ratio](https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio) property.
35
+
- We used a lot of mixin for hacks. I’m sure you know the [iframe hack](https://www.hacksoft.io/blog/responsive-iframes). Today we can use the new [aspect-ratio](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/aspect-ratio) property.
36
36
- We could separate our files by components and merge them at a build process with @import; this is useful today, but now we have @use and @forward.
37
37
- We made mathematical calculations. Don’t get me wrong, we still make calculations with Sass, but now we have [calc()](https://developer.mozilla.org/en-US/docs/Web/CSS/calc).
38
38
39
39
{% notification %}
40
-
Please note that we can still use the listed things (except [@import](https://sass-lang.com/documentation/at-rules/import), which is deprecated), but today we do not need them as much as we needed some years ago. Also, this is a personal list, nothing more.
40
+
Please note that we can still use the listed things (except [@import](https://sass-lang.com/documentation/at-rules/import/), which is deprecated), but today we do not need them as much as we needed some years ago. Also, this is a personal list, nothing more.
41
41
{% endnotification %}
42
42
43
43
## The Modern Sass
@@ -63,4 +63,4 @@ The modern Sass - _for me_ - means that we can use the new CSS features, but we
63
63
64
64
## Way More Easier to Use It
65
65
66
-
One thing that developed is the build tools. Knowing your console is a generic skill for any developer, but it can be a barrier. You can easily include Sass into any tooling system, but my favorite is [Sass CLI](https://sass-lang.com/documentation/cli), which [we can use from npm scripts](https://sprucecss.com/blog/the-simplest-sass-compile-setup).
66
+
One thing that developed is the build tools. Knowing your console is a generic skill for any developer, but it can be a barrier. You can easily include Sass into any tooling system, but my favorite is [Sass CLI](https://sass-lang.com/documentation/cli/), which [we can use from npm scripts](https://sprucecss.com/blog/the-simplest-sass-compile-setup/).
Copy file name to clipboardExpand all lines: src/blog/how-to-choose-a-css-framework.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,10 +49,10 @@ Another Bootstrap-like solution is [Bulma](https://bulma.io/), which is also a m
49
49
50
50
The most significant advantage of the mentioned ones is that they come with many resources, support, and excellent documentation. One significant disadvantage is that learning them and staying updated is more challenging (but a learning curve is always present).
51
51
52
-
- If you need a smaller system, you can try [Pure.css](https://purecss.io/
52
+
- If you need a smaller system, you can try [Pure.css](https://pure-css.github.io/
53
53
) or [Milligram](https://milligram.io/).
54
54
- If you need a system without classes, you can try [Picnic CSS](https://picnicss.com/) or [water.css](https://github.com/kognise/water.css).
55
-
- If you need a modern, low-level Sass-based system, give it a try to [Spruce CSS framework](https://sprucecss.com/docs/getting-started/introduction). It is a newer one but works for us.
55
+
- If you need a modern, low-level Sass-based system, give it a try to [Spruce CSS framework](https://sprucecss.com/docs/getting-started/introduction/). It is a newer one but works for us.
Copy file name to clipboardExpand all lines: src/blog/how-to-configure-spruce-css-in-your-project.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ alt: ""
6
6
tags: ["how-to"]
7
7
---
8
8
9
-
<pclass="lead">Including Spruce CSS in your project is an easy job. First, you must install it (the best with npm) and set up the <ahref="https://sprucecss.com/blog/the-simplest-sass-compile-setup">Sass compile</a>. Second, you need a quick config setting and are good to go.</p>
9
+
<pclass="lead">Including Spruce CSS in your project is an easy job. First, you must install it (the best with npm) and set up the <ahref="https://sprucecss.com/blog/the-simplest-sass-compile-setup/">Sass compile</a>. Second, you need a quick config setting and are good to go.</p>
10
10
11
11
A config setting is needed to set your custom values and generate Spruce’s styles.
Copy file name to clipboardExpand all lines: src/blog/internationalization-right-to-left-support-with-css-frameworks.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ The logical properties and values give us control over our layout with logical d
24
24
25
25
Although this article is mainly about LTR and RTL, you can not just control your layout horizontally but vertically if you wish so.
26
26
27
-
You can set your writing mode with the <ahref="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir"class="code-link"><code>dir</code></a> attribute or the <ahref="https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode"class="code-link"><code>writing-mode</code></a> CSS property.
27
+
You can set your writing mode with the <ahref="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/dir"class="code-link"><code>dir</code></a> attribute or the <ahref="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/writing-mode"class="code-link"><code>writing-mode</code></a> CSS property.
28
28
29
29
[The support for the logical properties can be mixed](https://caniuse.com/?search=logical%20properties), but with a prefixer, you can easily support the newer browsers.
30
30
@@ -108,7 +108,7 @@ div {
108
108
}
109
109
```
110
110
111
-
At this point, I am sure you get the idea behind the logical concept. It needs a different kind of thinking but is relatively easy to switch. [For the complete list, please visit MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties).
111
+
At this point, I am sure you get the idea behind the logical concept. It needs a different kind of thinking but is relatively easy to switch. [For the complete list, please visit MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
0 commit comments