csswizardry / ct Goto Github PK
View Code? Open in Web Editor NEWLet’s take a look inside your <head>…
Home Page: https://csswizardry.com/ct/
Let’s take a look inside your <head>…
Home Page: https://csswizardry.com/ct/
Async and defer simply do not work on inline scripts. It won’t do any harm, but it’s useful to know about.
This is true for classic scripts, but type=module
inline scripts can usefully have async
applied:
<script type=module>
// I run like `defer`!
</script>
<script type=module async>
// I run as soon as encountered but non-blocking!
</script>
defer
is still useless, as it is redundant.
I'm very interested in the relevance of the resource ordering n the head in the year 2022, especially knowing this discussion.
Sorry if this has been asked before.
What's the license for this project? I can't find a LICENSE file.
Example (in ES5 for more compatibility with older browsers)
javascript:(function() {
var link = document.createElement('link');
link.rel = 'stylesheet';
link.href = 'https://cdn.jsdelivr.net/gh/csswizardry/ct/ct.css';
(document.head || document.body).appendChild(link);
})();
If a lot of stylesheets / nodes are matched by the selectors, not all are visible and are not reachable since no scrollbars are visible.
Suggestion:
some extra Styling on head
fixed this issue for me
head {
overflow: auto;
height: 100vh;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.