iamdtms, to CSS
@iamdtms@mas.to avatar
joelanman, to CSS
@joelanman@hachyderm.io avatar

Is setting up a CSS grid, then having row divs with display: contents so its contents line up with grid a common pattern? Any pitfalls?

hywan, to CSS
@hywan@fosstodon.org avatar

Printing music with CSS Grid, https://cruncher.ch/blog/printing-music-with-css-grid/.

The article presents an elegant way to display/render music notation with CSS (and a bit of SVG for symbols).

stvfrnzl, (edited ) to legal
@stvfrnzl@mastodon.online avatar

Currently studying for the exam and I found the part surprisingly interesting. This topic was also relevant in a workshop I gave, so here's a couple of law suits that are related:

https://stevefrenzel.dev/posts/five-web-accessibility-law-suits/

I'm happy to expand this list if you know other interesting cases. 🤗

pawelgrzybek, to CSS
@pawelgrzybek@mastodon.social avatar

@bramus is on fire. Another incredible resource by this fella!

Introducing "Unleash the power of Scroll-Driven Animations"

https://developer.chrome.com/blog/scroll-driven-animations-video-course

phillip, to webdev
@phillip@social.tchncs.de avatar

With the popover API available in all browsers for a while now, we can easily build entirely accessible, even animated popovers for all use cases just with HTML and CSS. As an example I have created a codepen with a simple search button that opens a search field.
https://codepen.io/philliproth/pen/OJYLyMp

nshki, to webdev
@nshki@ruby.social avatar

Hi fediverse. My name is Nishiki and I’m a web dev with 15+ years of experience. I’m making myself available as a mentor for one or two motivated individuals looking to land their first junior engineering position. I’m happy to be able to say over the past few years, I’ve mentored 4 wonderful people who have all managed to land their first tech jobs.

Please email me at hello@nshki.com if interested. A boost for reach is much appreciated!

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

3 days until the @eleventy's International Symposium on Making Web Sites Real Good!

@mia will be there doing a quick dive into the origins of the web, and in particular—the design constraints, and the range of strange proposals, and how we got where we are.

https://conf.11ty.dev/

pawelgrzybek, to CSS
@pawelgrzybek@mastodon.social avatar

“Spicing up text with text-emphasis in CSS” by Amit Merchant

https://www.amitmerchant.com/spicing-up-text-with-text-emphasis-in-css/

teleclimber, to CSS
@teleclimber@social.tchncs.de avatar

"Anchor Positioning" is not about positioning 'A' elements that have an anchor (#).

Instead it's: "a positioned element can size and position itself relative to one or more "anchor elements" elsewhere on the page."

This is a big leap for CSS, don't sleep on this!

https://mozilla.social/@nicolaschevobbe/112393495168442402

https://drafts.csswg.org/css-anchor-position-1/

tixie, to CSS
@tixie@guerilla.studio avatar

round(), mod(), sign(), abs()CSS functions aren't in Chromium based browsers yet (only on Firefox and Safari) 😭
'tHaveNiceThings

https://caniuse.com/mdn-css_types_round
https://caniuse.com/mdn-css_types_mod
https://caniuse.com/mdn-css_types_sign
https://caniuse.com/mdn-css_types_abs

So… do you know if there ways to add some JS "polyfilling" (?) those functions to be able to use them in prototypes/technical demos. To allow everyone to be able to display them correctly no matter their browsers instead of just displaying a "only works on recent Firefox and Safari" banner?

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

💡 CSS Tip!

To target the html element, you either use "html {}" or ":root {}" but thanks to CSS nesting you can simply use "& {}"

When used alone, the nesting selector will match the root element!

A one-character selector 🤯

⚠️ It has a lower specificity than html and :root

Online Version: https://css-tip.com/root-selector/

_nb, to CSS
@_nb@mamot.fr avatar

I think I recently saw a post saying something like “Stop using web fonts for SVG icons”, but can’t find it again. Did I dream it?

#css #webdev

pawelgrzybek, to CSS
@pawelgrzybek@mastodon.social avatar

“If View Transitions and Scroll-Driven Animations had a baby” by @bramus is so good! I am learning tons!

https://youtu.be/a6ZN9jM-1K4

Did you know you can change HTML elements between transitions, for example from h2 to h1?! This is awesome!

vantablack, to webdev
@vantablack@cyberpunk.lol avatar

FUN FACT: you can use emojis as favicons!!!

just do this

<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🖤</text></svg>"><br></br>

davidbisset, to CSS
@davidbisset@phpc.social avatar
bramus, to CSS
@bramus@front-end.social avatar

📝 Misconceptions about CSS Specificity

To remove some of the confusion, here’s a list of misconceptions about Specificity in CSS …

https://www.bram.us/2024/05/05/misconceptions-about-css-specificity/

css, to CSS
@css@front-end.social avatar
stvfrnzl, to accessibility
@stvfrnzl@mastodon.online avatar

I decided (again) to prepare for the exam by the after I had some doubt of it's usefulness.

But after doing a non-technical workshop for newbies last week and believing that the will have some impact, I decided to go for it!

I'm using the @dequesystems prep course and read everything with 200% zoom. Unfortunately this makes paragraphs very long, so I'd like to share a I quickly created to shorten them:

stvfrnzl,
@stvfrnzl@mastodon.online avatar

@dequesystems ```
javascript: (() => {
const allParagraphElements = document.getElementsByTagName('p');

for (let paragraph of allParagraphElements) {
paragraph.style.width = '60ch';
}
})();


Here's a little tutorial on how to add them to you bookmarks: <https://www.freecodecamp.org/news/what-are-bookmarklets/>

#frontend #WebDev #HTML #CSS #JavaScript #a11y
davidbisset, to CSS
@davidbisset@phpc.social avatar

Man I love

Time-based CSS Animations w/ math functions.

https://yuanchuan.dev/time-based-css-animations

via @yuanchuan

vantablack, to webdev
@vantablack@cyberpunk.lol avatar

what do i need to change to make https://amazingdigitalcirc.us so it actually scrolls down the page?

#html #css #help

phranck, to CSS German
@phranck@chaos.social avatar

Hat hier jemand Ahnung von ? Weil, ich bin zu bloed dafuer... 🙄

Ich baue mir mit grad was Neues, und hab da schon etwas dran herumgefingert, aber es will nicht so, wie ich das will.

Originalzustand ist, dass die beiden Haelften gleich breit sind. Ausser auf Mobile-Devices, da gibt es nur eine Spalte.

Ich will aber, dass die bei breitem Viewport immer 35%/65% haben.

Wie geht dem?
Zu Hülf... 🙏

https://layered.work

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

What You Need to Know about Modern #CSS (Spring 2024 Edition)

https://frontendmasters.com/blog/what-you-need-to-know-about-modern-css-spring-2024-edition/

“even if you know about this stuff, it takes time to build the muscle memory around it.” #frontend

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

I've finally managed to get relative CSS colors documentation published on MDN. This was a complex beast to tackle, and I'm proud to see it out! Get started at https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_colors/Relative_colors; also see the color function pages to find out what relative colors look like in each.

sarajw, (edited )
@sarajw@front-end.social avatar

@chrisdavidmills I'm afraid at the last minute it's going to come out of my talk because I think I may have found a bug!

Seems like doing say hsl(from Canvas 30 s l); doesn't follow how Canvas (a system color) flips between near-white to near-black when color-scheme changes from light to dark.

Interesting though!

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