Blog · corpus.blog/blogs/matuzo.at/posts
Manuel Matuzovic
matuzo.at
2021
9 Apr 2021
9 Apr 2021
You can use the spellcheck attribute to instruct browsers that, if possible, an element should or should not be checked for spelling errors.original ↗
21 Feb 2021
4 Jan 2021
4 Jan 2021
2020
17 Dec 2020
16 Dec 2020
16 Dec 2020
16 Dec 2020
Adding an i (or I) before the closing bracket in an attribute selector causes the value to be compared case-insensitively.original ↗
27 Nov 2020
12 Oct 2020
12 Oct 2020
ol and ul accept the type attribute. You can use it to set a different numbering type in HTML.original ↗
7 Oct 2020
The order in which transform functions in the transform shorthand property are defined matters.original ↗
2 Oct 2020
You can use the nomodule attribute to run JavaScript code only in browsers that don’t support JS modules.original ↗
2 Oct 2020
9 Sept 2020
9 Sept 2020
Using the background-origin property you can position background images relative to the inner border edge (default), outer border edge, or the content edge.original ↗
31 Jul 2020
You can add the option { once: true } to an event listener to automatically remove it when has been invokedoriginal ↗
24 Jul 2020
The nullish coalescing operator (??) only returns its right-hand side operand when its left-hand side operand is null or undefined.original ↗
17 Jul 2020
Optional chaining allows you to chain methods or properties, and conditionally continue down the chain if the value is not null or undefined.original ↗
30 Jun 2020
24 Jun 2020
24 Jun 2020
4 Jun 2020
4 Jun 2020
You can use the removeProperty method to remove a specific inline CSS property defined in the style attribute.original ↗
6 May 2020
JSON.stringify takes 3 parameters. The third parameter can be used to pretty-print the output.original ↗
20 Mar 2020
12 Mar 2020
12 Mar 2020
26 Feb 2020
26 Feb 2020
20 Feb 2020
20 Feb 2020
28 Jan 2020
28 Jan 2020
You can disable all form elements in a fieldset by setting the disabled attribute on the fieldset.original ↗
14 Jan 2020
2019
You can list all pseudo elements of an element in the CSS pane in Firefox Developer Tools.original ↗
12 Dec 2019
27 Nov 2019
You can change the filename of a downloadable file by defining a value in the download attribute.original ↗
13 Nov 2019
The bullet or number of a list-item can be selected and styled with the ::marker pseudo-element.original ↗
5 Nov 2019
If an input element has the attribute value autocomplete="new-password", browsers can suggest securely-generated passwords.original ↗
29 Oct 2019
15 Oct 2019
15 Oct 2019
25 Sept 2019
25 Sept 2019
You can search the elements panel in Developer Tools not only for strings but also selectors.original ↗
21 Aug 2019
20 Aug 2019
20 Aug 2019
The webkitdirectory attribute allows users to select directories instead of files. (desktop browsers only)original ↗
24 Jul 2019
You can do responsive preloading because preload link elements accept the media attribute like any other link element.original ↗
19 Jul 2019
13 Jun 2019
23 May 2019
text-decoration doesn't have to be a solid line. There’s also dotted, dashed, double, and wavy.original ↗
22 May 2019
text-decoration is a shorthand property for text-decoration-line, text-decoration-color, and text-decoration-style.original ↗
22 May 2019
11 May 2019
11 May 2019