boilingsteam, to privacy
@boilingsteam@mastodon.cloud avatar
phryk, to random
@phryk@mastodon.social avatar

Aw, yiss :has(:target) works in Chromium and Firefox – no more waiting for :target-within to finally be implemented!

This opens up the possibility for arbitrarily nested modal content for websites.

And yes, I will go absolutely crazy with this when I get around to porting my SVG dataviz stuff to the new site.

css, to CSS
@css@front-end.social avatar

Looking for new ideas for my CSS Generators website.

https://css-generators.com

What kind of CSS code would you like to get with one click? 🤔

Shapes, Components, Color stuff, Complex formulas, etc. Let me know 👇

islamicaudiobooks,
@islamicaudiobooks@mastodon.social avatar

@css Responsive menus would be nice... thanks.

voxpelli, to random
@voxpelli@mastodon.social avatar

This year it’s 12 years since I built what I still think is the most pure implementation of how I personally envision a social feed of a site to work (except maybe the masonry effect). The social feed at Flattr: https://www.dailymotion.com/video/xqfed0

voxpelli,
@voxpelli@mastodon.social avatar

Tech wise it was built using #progressiveEnhancement on top of a fully #noJs site.

It utilized an AJAX form submitter coupled with a simple patch instruction from the server of how to update the site: https://voxpelli.com/2012/04/server-controlled-ajax-at-flattr/

voxpelli,
@voxpelli@mastodon.social avatar

The one thing I would make different today is not to drop the #progressiveEnhancement or the #noJs approach – it’s that I would drop jQuery and instead use some minimalistic modern helpers.

In fact, this is what I did when I worked for the HD-Sydsvenskan newspapers. I based those helpers on my personal collection of helpers and in the end we open sourced them (as we open sourced a module that needed them): https://github.com/Sydsvenskan/js-dom-utils

voxpelli,
@voxpelli@mastodon.social avatar

I still think that it’s easiest to create #noJs HTML sites with <form> tags initially and then use #progressiveEnhancement to turn them into a smoother experience.

That’s still how I would build such a social feed today.

axolotat, to webdev

So, it's possible to make a simple dropdown with html and css without JS ! :blobfoxcofe:

https://codepen.io/axolotat/pen/poYgMLO

alxd, to Blog
@alxd@writing.exchange avatar

of Mastodon: can you recommend any practices for designing a / blog?

I'm writing my small at https://alxd.org/ but I'm seeing the limitations of my half-custom theme and Pelican engine.

Is there value to tags? A search function? ?

Is it better to have a homepage in one language? All languages? Dependent on user browser? Should un-translated posts show up in other langs?

philnash, to random

Gonna learn how to avoid JavaScript from @Amys_Kapers at .

thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

Good question, website!

  1. Faster page loading
  2. Content doesn't get obscured
  3. Not getting tracked by data brokers
  4. Not getting infected by ransomware via vulnerable ad networks
  5. Forcing publishers to pursue sustainable revenue streams instead of racing to the click-bait bottom
adfeno,

@thomasfuchs I get even more of that because I try not to take (enable) sweets ( / ) from anyone except me.

rtfmkiesel, to random

For the NoScript/uBlock/uMatrix gang

kkarhan,
@kkarhan@mstdn.social avatar

@rtfmkiesel +9001%

is an act of self- and mutual defense...

It's also af since -oriented browsers like don't support it!

RL_Dane, (edited ) to random
@RL_Dane@fosstodon.org avatar

Hey ,

I'm thinking of writing an article about browsing Web 1.0 in the modern world (i.e., no JS, sometimes no CSS, sometimes no graphics at all).

Do any of you guys use online services* that work well without JS?

Care to share for my post? :D

Y'all are amazing <3

  • Things like navigations, movie listings, points of interest, reviews, but anything, really. :D
greg, to CSS

Finally playing with :has; looks like it can fix most of the issues I created (ab)using :target, like preserving normal text fragments behaviour, and art directed pages. https://codepen.io/cadars/pen/jOZaWrv?editors=1100

murtezayesil, to webdev

Did you know that responsive web is not limited to text and page layout. It also allows us to define and select the image with correct size from a list of sources depending on viewport size. Best part is, all of this is part of HTML5. No JS needed.

https://kurtextrem.de/posts/modern-way-of-img

You can also compare images of different formats and sizes to see how much perceptual difference they make.
https://storage.googleapis.com/demos.webmproject.org/webp/cmp/2022_10_04/index.html

blenderdumbass, to webdev
@blenderdumbass@mastodon.online avatar

I made a surprisingly useful engine with on my personal website in less than an hour.

glaforge, to CSS
@glaforge@uwyn.net avatar

A very elegant way to have pure-CSS expandable trees, using lists, but also summary and details tags:

https://iamkate.com/code/tree-views/

kentoseth, to python
@kentoseth@fosstodon.org avatar

Anybody have suggestions for Python Pelican (static site generator) themes that have no JS?

I'll even consider another SSG that has a no-JS theme.

#python #static #SSG #javascript #noJS

humanetech, to privacy
@humanetech@mastodon.social avatar

Yeah, server-side tracking was the expected route of mass of course. Much harder to block to block this shit and protect .

It is a case to go for a / browsing experience by default, and then only allow-list trusted websites.

https://news.ycombinator.com/item?id=30411049

amason, to webdev
@amason@mastodon.social avatar

I'm all for lazy loading images, but not the JavaScript variety.

Good compression and srcset work just great without any JS overhead.

nilesh, to random
@nilesh@fosstodon.org avatar

I'm really enjoying coding interactive Web UI components with TailwindCSS and AlpineJS. Having the markup, styling, and behaviour all in a single place is very productive. Just a <link> tag and a <script> tag to get these from CDN and done.

Here is a five-star rating input in 7 lines of code: https://codepen.io/eshnil/pen/GRqdoJe

rysiek,

@nilesh and here's the same in 10 lines of pure HTML+CSS:
https://jsfiddle.net/6eqy7pb1/

Works in any browser, no third party scripts or styles needed. Zero overhead.

And, I'd claim, is more readable (but that's subjective, obviously).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • ngwrru68w68
  • cisconetworking
  • magazineikmin
  • Youngstown
  • InstantRegret
  • rosin
  • slotface
  • khanakhh
  • mdbf
  • Durango
  • megavids
  • modclub
  • tacticalgear
  • GTA5RPClips
  • normalnudes
  • osvaldo12
  • everett
  • anitta
  • ethstaker
  • tester
  • Leos
  • cubers
  • provamag3
  • lostlight
  • All magazines