Advertisement · 728 × 90
#
Hashtag
#Html
Advertisement · 728 × 90
Preview
Using CSS to Add A Reading Progress Bar To My Site The length of my posts can vary dramatically - some (like this one) are very short, whilst others are much, much longer. Although I generally try to indicate how long a post is, once a reader is in, there isn't really a good way to know how much more of the post is left (the days of thick scrollbars are, thankfully, quite some way behind us). So, I decided to add a small visual indicator - a coloured bar which creeps across the top of the page as you progress. Most functionality on my site works without javascript so, ideally, I wanted the new indicator to be CSS only. This post describes how to add a progress bar to a website without using javascript. * * * ### The Mechanism A new experimental property (`animation-timeline`) was added to CSS back in 2023. It allows us to bind animations to specific events (such as scrolling). Essentially, this allows us to have CSS change the state of of an element depending on how far down the page the reader is. * * * ### Implementing I added a couple of `<div>`s to the bottom of my site's template, defining the progress bar and a wrapper for it: <div class="progress-bar-container" aria-hidden="true"> <div class="progress-bar"></div> </div> Although it's presence _shouldn't_ upset screen-readers, I decided to play it safe and add `aria-hidden` to be sure that I wasn't degrading compatibility. I then used CSS to stick the div to the top of the viewport: .progress-bar-container { position: fixed; top: 0px; width: 100%; z-index: 999; background: transparent; } I chose to make the background transparent, but it's also possible to set it to a colour and create a two-tone bar where one colour squashes the other as the reader progresses. For the progress bar, we define height and the colour before binding it to a CSS animation: .progress-bar { height: 3px; background: #00cfff; animation-timeline: scroll(y); animation-name: width; } Finally, we create the animation: @keyframes width { from { width: 0 } to { width: 100% } } The result is a blue bar that creeps across the page as the reader scrolls: * * * #### Advanced Mode I **did** briefly experiment with having Pac-Man work his way across eating dots: <style type="text/css"> .progress-bar-container { position: fixed; top: 0px; width: 100%; z-index: 999; /* Set the background to a dot that Pacman will eat */ background-image: url(/images/Documentation/css-reading-position-indicator/dot.png); /* Repeat all the way across and line them up with his gob */ background-repeat: repeat-x; background-position: center; } /* The progress bar is almost the same as before but we set the background to white to hide the eaten docs */ .progress-bar { height: 30px; background: white; animation-name: width; animation-timeline: scroll(y); } /* Style the pac-man image */ .progress-bar img { height: 20px; width: 20px; /* We want him stuck to the right edge of the div so that he advances as the user scrolls */ display: block; margin-left: auto; } </style> <div class="progress-bar-container"> <div class="progress-bar"> <!-- Include the pacman image --> <img src="/images/Documentation/css-reading-position-indicator/pac-man.gif"> </div> </div> The result looked like this: With a bit of tweaking, I could have got rid of the trailing white bar, but I ultimately decided that the whole thing was too distracting and switched back to a solid colour. * * * #### Dark Mode My site automatically switches if the reader has configured their OS (or, more accurately, their browser) to prefer dark mode. Rather than white and blue, my dark mode uses black and yellow. So, I also added some CSS **after** the definitions above to change the scroll-bar colour accordingly: @media (prefers-color-scheme: dark) { .progress-bar { background: #fc0 } } * * * ### Caveats Being able to do all of this without javascript is great, but there _are_ some gotchas. The progress bar width is based on the full page rather than just the main content: if you've lots of footer content (or a comments section) it's going to count that. There doesn't seem to be a good way to address that in CSS. Despite being a few years old, `animation-timeline` is still marked experimental. Although Firefox now supports it, developer tools will still warn you about it not being supported elsewhere: Other than that, it's quite a simple quality-of-life addition to a website which sometimes features very long posts.

Using CSS to Add A Reading Progress Bar To My Site
Author: Ben Tasker

www.bentasker.co.uk/posts/documentation/gene...

#css #html #webdesign

0 0 0 0
Preview
Code and Carbon:BYTES

I have a feeling there is going to be lots more of these...
#code #python #ai #html #css

nyx85.neocities.org/codeandcarbo...

1 0 0 0
Yeti – Tailwind CSS – HTML, Laravel, React  Vue.js Admin Template

Yeti – Tailwind CSS – HTML, Laravel, React Vue.js Admin Template

Yeti – Tailwind CSS – HTML, Laravel, React Vue.js Admin Template

https://themes.stylelib.org/?p=16542

#admindashboard #admintemplate #admintemplates #html #minimal #modern #react #sitetemplates #themeforest

0 0 0 0
Fireside chat slide, with side by side pics of Mike and Billy Bob Thornton Use code PIGGYTRUMP for 20% off at HTMLZ

Fireside chat slide, with side by side pics of Mike and Billy Bob Thornton Use code PIGGYTRUMP for 20% off at HTMLZ

Mike[TM]Smith AKA Sideshowbarker – fireside
talking #WebStandards #W3C #Browsers #HTML #ARIA #Japan #politics

html5accessibility.com/stuff/2026/0...

1 1 0 0
Preview
Chrome Extension Auto-Book date PHP & HTML Projects for ₹12500-37500 INR. I need a lightweight Chrome extension that logs in to a specific website, keeps an eye on appointment availability, and the mome



#API #Integration #CSS #Google #Chrome #HTML #JavaScript #PHP #Software #Architecture #Web

Origin | Interest | Match

0 0 0 0
Preview
Chrome Extension Auto-Book appointments PHP & HTML Projects for ₹12500-37500 INR. I need a lightweight Chrome extension that logs in to a specific website, keeps an eye on appointment availability, and the mome



#API #Integration #CSS #Google #Chrome #HTML #JavaScript #PHP #Software #Architecture #Web

Origin | Interest | Match

1 0 0 0
Preview
Universal Translator Web Application Development PHP & HTML Projects for min ₹2500 INR / hour. • Need a modern full-stack Universal Translator web application • The app should translate text between 35+ languages • Au



#CSS #HTML #JavaScript #Mobile #App #Development #MySQL #Node.js #PhoneGap #PHP

Origin | Interest | Match

0 0 0 0
You've been with us for al these years.

Thank you for /death/lor/ation/ experience.

Thank you for these days - and welcome to new experience.

We've prepared one special story - from the reality's backlog. It happened.

*

Non-Euclidian-Sequencer. The desert-stranding story - already readable.

Get the first chapters on Broken-curse-studios.itch.io - and prepare for continue.

Non-Euclidean Sequencer

A sequencer - whether graphic or audio - is essentially a coordinate grid: a musical staff stretching into infinity, a space for creating stories.

Euclidean space is a space of wonders: magic, when explained by metaphysics, ceases to be schizophrenia.

Consequently,

the Non-Euclidean Sequencer is a space for creating the impossible in the familiar world.

The Non-Euclidean Sequencer is a device for creating space-cycles, time spirals, and treasure troves of space.

The Non-Euclidean Sequencer will allow you to leave yourself messages-portals from the past - and the contact between the necessary and the desired will reverse reality - to the creation of interpretations and clichés, the space of imagination to the framing of the cycle.

There are five paths to slip into the Non-Euclidean Sequencer:

Composure

Restraint

Self-denial

Self-control

Dreaming

Doubt

The space of Creation and exchange of Miracles and patterns of living beyond the comprehension of 3D consciousness. The explanation is sufficient - to echo: “Oh yes, we flew!”

It is time to summon your Parable of the Creation of Reality.

You've been with us for al these years. Thank you for /death/lor/ation/ experience. Thank you for these days - and welcome to new experience. We've prepared one special story - from the reality's backlog. It happened. * Non-Euclidian-Sequencer. The desert-stranding story - already readable. Get the first chapters on Broken-curse-studios.itch.io - and prepare for continue. Non-Euclidean Sequencer A sequencer - whether graphic or audio - is essentially a coordinate grid: a musical staff stretching into infinity, a space for creating stories. Euclidean space is a space of wonders: magic, when explained by metaphysics, ceases to be schizophrenia. Consequently, the Non-Euclidean Sequencer is a space for creating the impossible in the familiar world. The Non-Euclidean Sequencer is a device for creating space-cycles, time spirals, and treasure troves of space. The Non-Euclidean Sequencer will allow you to leave yourself messages-portals from the past - and the contact between the necessary and the desired will reverse reality - to the creation of interpretations and clichés, the space of imagination to the framing of the cycle. There are five paths to slip into the Non-Euclidean Sequencer: Composure Restraint Self-denial Self-control Dreaming Doubt The space of Creation and exchange of Miracles and patterns of living beyond the comprehension of 3D consciousness. The explanation is sufficient - to echo: “Oh yes, we flew!” It is time to summon your Parable of the Creation of Reality.

You've been with us for al these years.

Thank you for /death/lor/ation/ experience.

Thank you for these days - and welcome to new experience.

We've prepared one special story - from the reality's backlog. It happened.

#release #html #novel #giveaway

1 0 0 0
The game board for Elemental Fusion depicting elements from the periodic table ready to be matched and removed

The game board for Elemental Fusion depicting elements from the periodic table ready to be matched and removed

Still time to get something in for #screenshotsaturday ... I know the title text isn't wrapping correctly, still some tweaking to be done for mobile responsiveness!

#games #gaming #gamedev #indiedev #phaser #html

5 2 0 0

Made the decision to use #zzfx and #strudel in my game so that I can tweak everything as I playtest but, more importantly, I can have dynamically adjustable music based on the state of play! Only 2 moves left? Yeah that tune is panic inducing now! 🤣

#dev #gamedev #indiedev #indiegame #phaser #html

3 2 0 0
Post image

okay so as I said before: characterhub profile + code/html

ITS JUST A GLIMPSE but I promise it looks absolutely AMAZING!

#characterhub #bluskycharacterhub #code #html #work #oc #jjk #almostdone #lotofwork #authornononova #n.n.nova #followformore #booksky #book #author #writer

4 0 0 0
Preview
Code and Carbon:BYTES

I created an area on my website to document the snippets of highs, lows and things I have learned on this journey. Its only going to get bigger...

#coding #python #html

nyx85.neocities.org/codeandcarbo...

1 0 0 0
Preview
Enhance Dialogs with the closedby Attribute Easily add light dismiss behavior or prevent accidental closing via the Escape key.

The (relatively) new closedby attribute makes it super easy to add light dismiss behavior to native dialog elements. Or you can go the other way: Prevent accidental closing of the dialog via escape key. I love it! 😍
#webdev #html #a11y #accessibility #webdesign

oidaisdes.org/blog/dialog-...

0 0 0 0
Preview
Modern Static Construction Website HTML & Web Development Projects for ₹10000-15000 INR. I’m looking for a clean, modern-and-minimalist static website that quickly tells visitors who we are, what we build,



#CSS #Frontend #Development #HTML #JavaScript #Next.js #SEO #Web #Design #Web #Development

Origin | Interest | Match

2 0 0 0
Preview
Courier Mate Website & Job Application Form Graphic Design & PHP Projects for $30-250 AUD. Hi, I’m looking to build a professional website for my company Courier Mate. The main purpose of the website is to allow p



#Graphic #Design #HTML #JavaScript #MySQL #PHP #Web #Design #Web #Development #Website

Origin | Interest | Match

1 0 0 0
Preview
You Don’t Know HTML Tables This is a deep dive into HTML tables that cover its vocabulary & parts, Table Object Model, Cell headers, and the semantic value of table headers and footers

Frank M Taylor says: You Don’t Know HTML Tables. blog.frankmtaylor.co... #HTML

0 0 0 0
Preview
Installation and Setup of Goldsvet 8.5 Decoded Script - Full Casino Setup PHP & HTML Projects for $750-1500 USD. I am looking for an iGaming expert to install and configure the Goldsvet 8.5 Decoded Script. My budget is $1,000 USD for the comple



#Cloudflare #HTML #HTML5 #JavaScript #MySQL #Nginx #PHP #Website #Design

Origin | Interest | Match

0 0 0 0
Preview
New to the web platform in March  |  Blog  |  web.dev Discover some of the interesting features that have landed in stable and beta web browsers during March 2026.

#Development #Releases
New to the web platform (March 2026) · CSS grid lanes, JavaScript iterator sequencing, and more ilo.im/16bqnu by Rachel Andrew

_____
#Browser #Chrome #Firefox #Safari #WebPlatform #WebDev #Frontend #HTML #CSS #JavaScript

0 0 0 0
Post image

Enhance Dialogs with the closedby Attribute Easily add light dismiss behavior or prevent accidental closing via the Escape key. The native <dialog> HTML element is a thing of beauty. It enabl...

#accessibility #css #dialog #html #keyboard #sreenreader #web

Origin | Interest | Match

1 0 0 0
Frontend Dogma (@frontenddogma@mas.to) The Death of the Front Door: Why the “Home Page” Is a Legacy Pattern, by @webdesignerdepot.bsky.social: https://webdesignerdepot.com/the-death-of-the-front-door-why-the-home-page-is-a-legacy-pattern/ #design #homepages #browsing #web

i highly disagree. while most of the time i land on a website it's via some link to a specific page, i go and check the landing page if the website if the website catches my attention.

#webdev #web #html
@frontenddogma https://mas.to/@frontenddogma/116302738752249235

1 0 0 0
Preview
You Don’t Know HTML Tables This is a deep dive into HTML tables that cover its vocabulary & parts, Table Object Model, Cell headers, and the semantic value of table headers and footers

You Don’t Know #HTML Tables: "This is a deep dive into HTML tables that cover its vocabulary and parts, Table Object Model, Cell headers, and the semantic value of table headers and footers." blog.frankmtaylor.com/2026/03/05/y...

6 2 0 1
Post image

My #Tutorial on #EPUB design. Details the #CSS styles and #HTML needed to create realistic #TextMessaging within an #EBook that reflows automatically based on reader preferences.
bit.ly/3SqUdTd

2 0 0 0
Post image

🥳Todavía estas a tiempo de formarte como #FullStack de la forma mas completa #HTML, #CSS, #JavaScript, #React, #php, #node, #Laravel, #MongoDB, etc.

🚀En Abril puedes dar el paso y comenzar tu nueva vida, infórmate en nuestra web --> www.auladigitaltech.com/formaciones/...

1 1 0 0
Original post on norfolk.social

Reviewing a web component that had a toggle switch to set an image to be “decorative” by not requiring alt text.
The question I ask myself, though, is how does the editor know what makes an image decorative?
What is the one sentence definition I can ask to be placed next to the toggle so that […]

1 0 0 0
Preview
CSSのattr()関数が進化! HTML属性値を参照する新しい使い方 - ICS MEDIA HTMLの属性値をCSSから参照できるattr()関数は、これまで::beforeや::afterといった疑似要素のcontentプロパティで使える機能として知られていました。

#CSS The attr() function evolution! #HTML attribute value ics.media/entry/260326/

1 0 0 0
Preview
AI-Powered Knowledge Workspace PHP & HTML Projects for $30-250 USD. I need an end-to-end web application that lets a customer-support team upload internal docs, search the knowledge base, ask questions



#AI #Development #API #Development #Cloud #Computing #Full #Stack #Development #HTML #JavaScript

Origin | Interest | Match

1 0 0 0
Temptation – a Single Page Template

Temptation – a Single Page Template

Temptation – a Single Page Template

https://themes.stylelib.org/?p=6280

#clean #creative #gallery #html #jquery #minimal #modern #onepage #personal #photography #portfolio #sitetemplates #slider #themeforest

2 0 0 0
Preview
Your skip link targets may not need tabindex=-1 to work properly - Manuel Matuzovic I'm a frontend developer in Graz, specialized in HTML, accessibility, and CSS layout and architecture.

Your Skip Link Targets May Not Need “tabindex=-1” to Work Properly, by @matuzo@front-end.social:

https://www.matuzo.at/blog/2026/skip-links-tabindex

#skiplinks #html #attributes #accessibility

2 0 0 0
Preview
iPhone exploit DarkSword has been released in the wild Uh-oh. Now anyone can easily use it.

Die russische Hackerware #DarkSword wurde auf #Github veröffentlicht und kann jetzt von jedem Missbraucht werden.

Der Besuch einer kompromitierten Webseite langt, die #Spyware kommt über #HTML & #JavaScript aufs #iPhone

#Apple bietet seit dem 11.3. einen Patch!

mashable.com/article/ipho...

24 16 1 0