Skip to content

Commit

Permalink
Add bookmarklet
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Sep 21, 2021
1 parent 7ed6bde commit 7ed7bcb
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,17 @@

<title>CT</title>

<style>html { color: red; }</style>
<style>

html {
font: 1em/1.5 system-ui;
}

code {
font-family: monospace, monospace;
}

</style>

<script>console.log('Hello')</script>

Expand Down Expand Up @@ -45,7 +55,11 @@
</head>
<body>

<h1>CT</h1>
<h1><code>ct.css</code> – Let’s take a look inside your <code>&lt;head&gt;</code></h1>

<p>Drag and drop the following link to your bookmarks bar: <a href="javascript:(function(){ var ct = document.createElement('link'); ct.rel = 'stylesheet'; ct.href = 'https://csswizardry.com/ct/ct.css'; ct.classList.add('ct'); document.head.appendChild(ct); }());;">ct.css</a>.</p>

<p><a href="https://twitter.com/csswizardry">@csswizardry</a></p>

</body>
</html>

0 comments on commit 7ed7bcb

Please sign in to comment.