pitrh, to random
@pitrh@mastodon.social avatar
RalphBassfeld, to random
@RalphBassfeld@swiss.social avatar
litteracarolina, to histodons
@litteracarolina@mastodon.online avatar
aral, to SmallWeb
@aral@mastodon.ar.al avatar

You can now create HTML and CSS fragments in Kitten.

This introduces two new file extensions (.fragment.html and .fragment.css) and you can import these fragments into your pages and into other components and fragments as if they were JavaScript modules*.

HTML fragments also support slots.

Example:

https://codeberg.org/kitten/app/src/branch/main/examples/html-and-css-fragments

*Thanks to Kitten’s behind-the-scenes use of a custom ES Module Loader.

[Screenshot of terminal window showing hx (Helix Editor) with two panes. Left pane, selected, shows source of Markup.fragment.html: I’m some HTML from Markup.fragment.html.

${SLOT} I’m some other HTML Markup.fragment.html.

${SLOT.other} I’m yet more HTML Markup.fragment.html.

Right pane shows source of Styles.fragment.css: /* I’m some CSS / :root { --accent-colour: red; --border-width: 2px; } div { border: var(--border-width) solid var(--accent-colour); margin: 1em; padding: 1em; } / Show slotted divs with a different colour. */ div > div { border-color: lightpink; } ](https://s3-eu-central-1.amazonaws.com/mastodon-aral/media_attachments/files/112/032/044/950/950/448/original/5b1d6e886eccdcd6.png)

scholar_farmer, to history
@scholar_farmer@zirk.us avatar

This little gem is Flodoard's Historia Remensis ecclesia Bk 2. (Also in this volume is/was Hincmar's Opuscula in Causa and 's De Divortio; clearly a collection devoted to !)

You too could help identify the library fragments if you were so moved! https://haab-digital.klassik-stiftung.de/viewer/Identifizierung_Aschebuchfragmente/

Eka_FOOF_A, to anime_titties
@Eka_FOOF_A@spacey.space avatar

#grenade #fragments were found in the passengers of #Prigozhin's plane. This is easy to do without any person on board being involved. It doesn't absolve #Putin.

technotramp, to SanFrancisco
@technotramp@mastodon.social avatar

The IPFS in has ! This is thanks to you who are using the set up on the .com domain. Thanks to , part of the with for RPlayer is also in this . you very much for that! It's live in , where it's of . of data where the , and ... It's .

Listen.: https://technotramp.com

🖐️😶

mkwadee, to Astronomy
@mkwadee@mastodon.org.uk avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • thenastyranch
  • ngwrru68w68
  • magazineikmin
  • khanakhh
  • rosin
  • mdbf
  • Youngstown
  • slotface
  • everett
  • cisconetworking
  • kavyap
  • DreamBathrooms
  • anitta
  • InstantRegret
  • Durango
  • osvaldo12
  • ethstaker
  • modclub
  • GTA5RPClips
  • Leos
  • cubers
  • tester
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines