@alvaromontoro@front-end.social
@alvaromontoro@front-end.social avatar

alvaromontoro

@alvaromontoro@front-end.social

100% not an alien.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

alvaromontoro, to random
@alvaromontoro@front-end.social avatar

You have seen "using a div as a button," but how about "using a button as a div"? Forget about complex CSS centering solutions. Center all your content vertically and horizontally with a single HTML tag:

<button type="button">I am centered</button>

Boom! Text centered! Short and sweet ๐Ÿคฏ๐Ÿง๐Ÿคฃ

alvaromontoro, to webdev
@alvaromontoro@front-end.social avatar

Web Development has evolved and progressed over the last 20 years... but maybe not always for the better ๐Ÿ˜…๐Ÿ˜‚

New comiCSS comic: https://comicss.art/?id=104

alvaromontoro, to accessibility
@alvaromontoro@front-end.social avatar

Accessibility question: I've published videos lately without anyone talking (just background music with animations and text). What would be a way to make those videos accessible to blind people? I added a "transcription" in the description. Would closed captions help?

alvaromontoro,
@alvaromontoro@front-end.social avatar

@joelanman Thank for the suggestion. I did my own version of audio description (which is probably not a good idea ๐Ÿ˜ณ), including the text in the video plus the actions that happen around it (e.g. an element pops up, the code updates to xyz, etc.)... now off to add them to Youtube.

alvaromontoro, to random
@alvaromontoro@front-end.social avatar

I coded a drawing of a bat (the animal, not the baseball stick) with HTML and CSS. Here's how it went... https://youtu.be/dDPREg-1K-E

alvaromontoro,
@alvaromontoro@front-end.social avatar

@sarajw thanks! ๐Ÿ˜Š

cheeaun, to random
@cheeaun@mastodon.social avatar

LOL first thought in my mind is remapping these large buttons to Ctrl+C and Ctrl+V ๐Ÿ˜‚

๐Ÿ”ด 8BitDo Dual Super Buttons: https://shop.8bitdo.com/products/8bitdo-dual-super-buttons (Ships on Sep 20th)

alvaromontoro,
@alvaromontoro@front-end.social avatar

@cheeaun isn't that what's happening? ๐Ÿ˜ณ๐Ÿค”

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

LevelUp Coding shared my article "Small Details to Improve Your Websiteโ€™s Experience." A collection of five simple tips and tricks in HTML and CSS that will provide a better user experience and take just a few minutes to implement on any site.
https://levelup.gitconnected.com/small-details-to-improve-your-websites-experience-88425116a06c

I also published it on my personal site: https://alvaromontoro.com/blog/68039/small-details-to-improve-your-website-experience

simevidas, (edited ) to random
@simevidas@mastodon.social avatar

WordPress adds <ProgressBar /> component? Whatโ€™s wrong with the standard <progress> element?

edit: Also, whatโ€™s up with

> the HTML Processor, which is built in order to understand HTML structure including nesting, misnesting, and complicated semantic rules

Doesnโ€™t the web platform have an API for that?

https://developer.wordpress.org/news/2023/08/whats-new-for-developers-august-2023/

alvaromontoro,
@alvaromontoro@front-end.social avatar

@simevidas it looks like they are combining a determinate and indeterminate loading indicator into a single component. HTML's <progress> is only determinate iirc, no?

alvaromontoro, to random
@alvaromontoro@front-end.social avatar

New comiCSS cartoon: Duck Test
https://comicss.art/?id=97

This cartoon is half tongue-in-cheek, half serious. Whenever I post a comic online, someone says: "CSS should not be used for drawing!" Which is technically correct, but... ๐Ÿคท

Source code: https://comicss.art/comics/97/duck-test.html

mia, to random
@mia@front-end.social avatar

I'm one year older than I was an hour ago. It's the oldest I've ever been.

I guess I'll try and sleep it off?

alvaromontoro,
@alvaromontoro@front-end.social avatar

@mia happy one-year-older day! I hope you enjoy it (after the well deserved sleep)

sarajw, to accessibility
@sarajw@front-end.social avatar

Does anyone have a good example of a select element accessibly restyled into a fancy drop down select, a chunky thing with images or icons included with the options?

Or is that a dead end for ?

alvaromontoro,
@alvaromontoro@front-end.social avatar

@sarajw Visa has a nice accessible component library. There were talks about opening it to the public/open-sourcing it, but don't know what happened in the end.

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

New comiCSS cartoon: The ABCs of CSS.
https://comicss.art/?id=95

Each letter is drawn with CSS and uses the property/value that it showcases. Some are animated (K or Q), and others are interactive (M or R). Check the live demo to get all the action: https://comicss.art/comics/95/abc-css.html

brucelawson, to random
@brucelawson@vivaldi.net avatar

Yank chums: why doesn't Dark Brandon just appoint 29 non-wanker judges to the Supreme Court?

alvaromontoro,
@alvaromontoro@front-end.social avatar

@sarajw @brucelawson next gop president will do it if given the chance, even if current president doesn't add any ๐Ÿคท

alvaromontoro, to random
@alvaromontoro@front-end.social avatar

With Twitter sinking rapidly, I may spend a little bit more time here... But don't know how much honestly. Mastodon is not my favorite social network; Bluesky looks nice, but it's still in diapers (and that's been generous); Facebook, nope; LinkedIn, probably? But that will be like staying at work late (working there is spoiling my experience on that platform). Definitely will continue posting on my website, but that's like shouting into the void and unidirectional...

alvaromontoro,
@alvaromontoro@front-end.social avatar

@sarajw I like this community and the content being shared here. My main dislike is the platform itself. I don't find it as usable or attractive as other social networks.

alvaromontoro, to random
@alvaromontoro@front-end.social avatar

I made many changes to cssdrawings.com this past month:

  • new drawings
  • improved responsiveness for some drawings
  • updated some of the styling
  • added the site to a CSS webring
  • added Patreon link

It's a website about images, without any images. All CSS and single-element drawings. Check it and send opinion/feedback my way.

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

Ahhh I love how https://cs.sjoy.lol is coming together. Such great sites โ™ฅ๏ธ

alvaromontoro,
@alvaromontoro@front-end.social avatar

@sarajw @css i am currently traveling and don't have a laptop. That's the only reason I haven't done it already ๐Ÿ˜…

alvaromontoro,
@alvaromontoro@front-end.social avatar

@sarajw @css I have a few sites that i could add. My personal blog (although not always about CSS), comicss.art, and CSSdrawings.com

simevidas, to random
@simevidas@mastodon.social avatar

womp womp

video/mp4

alvaromontoro,
@alvaromontoro@front-end.social avatar

@simevidas is this an issue with the width or the box-sizing?

estelle, to random
@estelle@front-end.social avatar

In the USA, first you can buy a gun, then you can drive, then you can die for your country, then you can vote, then you can drink, then you are old enough to CSS.

alvaromontoro,
@alvaromontoro@front-end.social avatar

@mia @elly @estelle I need to print and frame this thread. It's Art, and no one can change my mind.

alvaromontoro, to random
@alvaromontoro@front-end.social avatar

Im positive I clicked on the star for some posts/comments, but logging into the app, they are not there.

elly, to webdev
@elly@front-end.social avatar

I finally finished updating the colour scheme/theme picker on my website. ๐ŸŽ‰

Now you can pick a colour scheme of either: auto, light or dark, and then a theme hue.

๐Ÿ”— https://ellyloel.com

Check it out and tell me how broken it is :blobcatfingerguns:

#WebDev #WebDesign #WebsitePersonalisation

alvaromontoro,
@alvaromontoro@front-end.social avatar

@hi_mayank @elly is it using LCH?

alvaromontoro,
@alvaromontoro@front-end.social avatar

@elly @hi_mayank i probably have misunderstood how LCH/OKLCH work. I was under the impression that as long as the Lightness value is the same, just changing the hue should not affect the contrast values, as the perceived lightness is the same.

alvaromontoro, to webdev
@alvaromontoro@front-end.social avatar

Coffee as a CSS Color: using the new HWB function to describe coffee styles... But changing the values a little:

  • H = Hot water
  • W = Whiteness/milk
  • B = Blackness/coffee

https://comicss.art/?id=87

Thanks @cheeaun and @ItsCrisDiaz for your feedback and suggestions! ๐Ÿ˜Š

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