@css@front-end.social
@css@front-end.social avatar

css

@css@front-end.social

A lot of 𝗖𝗦𝗦 stuff by 𝗧𝗲𝗺𝗮𝗻𝗶 𝗔𝗳𝗶𝗳

🏆 https://css-challenges.com
⚙️ https://css-generators.com
📝 https://css-articles.com
💫 https://css-loaders.com
🎨 https://css-pattern.com
🧩 https://css-shape.com
💡 https://css-tip.com
https://css-only.art
🎮 https://css-games.com
https://css-quizzes.com

I verified myself because I know I am a real person. You can trust me, I know who I am.

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

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

Using modern CSS features to create a custom range slider with a tooltip. There is no JS to update the values, it's pure CSS with minimal HTML 😎

Powered by Scroll Driven animation, Anchor positioning, @​property and more! 🤩

Demo: https://codepen.io/t_afif/full/JjqNEbZ via :codepen: @codepen

Online Version: https://css-tip.com/range-slider-tooltip/

It's Chrome only for the tooltip but the range slider works fine in all the browsers.

#CSS #HTML

Showing two range slider with a tooltip containing the selected values. From the linked demo.

css,
@css@front-end.social avatar

The previous range slider was good but not good enough to me. Let's upgrade it with some motion!

Now the tooltip will follow your movement to get a more realistic effect. Still 100% CSS magic. No JS! 😎

Demo: https://codepen.io/t_afif/full/MWdmZPL via :codepen: @codepen

Showing two range sliders with tooltip. Overview from the linked demo

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

🛑 STOP Scrolling!

It's time to learn something new in CSS. You are one click away from getting a cool demo. What are you waiting for?

👉 https://random.css-tip.com 👈

#CSS #HTML

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

🎮 New CSS Game!

What about a CSS game that you can play with your keyboard? No, it's not a joke but a reality!

Play "Super CSS Mario", the first ever CSS-Only game playable using your keyboard. Have fun! 🤩

✅ 0% JavaScript
✅ 100% CSS Magic

Demo: https://codepen.io/t_afif/full/OJYbVWP via :codepen: @codepen

Record yourself and show me your best attempt (No screenshots & no cheating 😈)

It's a Chrome (or Edge) only. I repeat, it's a Chrome-only experience.

#CSS #HTML #game

Showing a demo of the CSS-only game linked in the post. A cool Mario game where you can collect gold coins using Keyboard.

css,
@css@front-end.social avatar

Ready for "Super CSS Mario II"? This time it's more challenging because you have to avoid some enemies 😬

0% JavaScript, 100% CSS magic & 100% addictive!

Demo: https://codepen.io/t_afif/full/JjqEdJv via :codepen: @codepen

Show me your best attempt 👇

#CSS #HTML

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

💡 CSS Tip!

One line of code that looks strange and confusing. You may think it's not even CSS but it will save you many times in the future!

It will make sure the width of your element is always an integer! No more decimal and rounding issues!

"width: auto" with an upgrade 😎

No browser support yet but you can test it on the latest Chrome with the experimental flag enabled: https://codepen.io/t_afif/pen/rNgLyJz

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

💡 CSS Tip!

Turn a simple input into single-digit inputs using a few lines of CSS. Useful for One-Time Password fields.
✅ No extra element (only one input element)
✅ Less than 15 CSS declarations
✅ Optimized with CSS variables

Demo: https://codepen.io/t_afif/full/XWwbMNO via :codepen: @codepen

Online Version: https://css-tip.com/single-digit-inputs/

#CSS #HTML

Showing the result of the linked demo. A One-Time password field using a single input element.

inautilo, to webdev
@inautilo@mastodon.social avatar

#Development #Techniques
The modern guide for making CSS shapes · Shapes with the smallest and most flexible code possible https://ilo.im/15yu2g


#Shape #Tab #Tooltip #Clipping #Masking #WebDev #Frontend #HTML #CSS #CustomProperty

cssbasics, to CSS
@cssbasics@hachyderm.io avatar

The Ultimate #CSS Shapes Collection: "Pure CSS shapes made with a single-element, modern CSS and an optimized code. All the shapes are here, look no further!" https://css-shape.com/

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

📝 New CSS Article!

After the "Ultimate Collection of CSS Shapes". It's time for "The Modern Guide for making CSS Shapes". 🤩

https://smashingmagazine.com/2024/05/modern-guide-making-css-shapes/ via @smashingmag

A huge compilation of many CSS Tricks I have been using since years in this guide. All the secrets for creating CSS shapes are there!

Enjoy reading my 100th CSS Article! 🥳

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/

davidbisset, to CSS
@davidbisset@phpc.social avatar

This could be handy.

"The Ultimate Collection of only Shapes"

https://css-shape.com/

cobra_winfrey, to random

A semi-playable Doom demo I built for using CSS scroll timeline, a handful of checkboxes and has() selectors + a nice assist from image-rendering: pixelated.

Oh and no JS, as god intended.

https://codepen.io/cobra_winfrey/full/oNOMRav

Animated gif of a user playing a scrollable rendition of the 1993 video game Doom

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

CSS Shape: Pure CSS shapes made with a single-element, modern CSS and an optimized code
Resource: https://css-shape.com/

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

In case you missed it, I released a huge collection of CSS Shapes

https://css-shape.com/

✅ Different variations for each shape
✅ Optimized code easy to adjust online
✅ One-click to copy the code
✅ More shapes are coming in the future

No more struggle creating CSS Shapes!

Overview of different shapes from the linked resource

codepen, to random
@codepen@fosstodon.org avatar

"CSS-only pixelated cut corner" by Temani Afif. It's done with a programmatically created clip-path and mask, so it scales perfectly well. It's worth commenting out one or the other (then swapping) to see which each part is doing.

https://codepen.io/t_afif/pen/NWmzxQj

video/mp4

inautilo, to webdev
@inautilo@mastodon.social avatar

#Development #Launches
CSS Shape · A collection of easily customizable CSS-only shapes https://ilo.im/15yn9c


#Shape #Gradient #Color #ModernCSS #WebDev #Frontend #HTML #CSS #CustomProperty

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

New CSS Project! 🥳

Are you looking for a CSS Shape? look no further!

👉 https://css-shape.com 👈

The Ultimate Collection of CSS-Only shapes
✅ Single-element implementation
✅ Optimized code
✅ Easy to customize using CSS variables
✅ One click to copy the code

Stop relying on old and obsolete resources. Use modern CSS to create Shapes! 🤩

A home page recording of the shared link.

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

In case you missed it, my CSS Generators website counts no less than 10 online generators. Section divider, gradient shadows, custom border, custom corners, and more!

👉 https://css-generators.com 👈

Get an optimized code with modern CSS in no time!

Showing the banners of the different generator websites.

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

Another article and another single element experimentation using images!

Check my latest article @smashingmag

https://smashingmagazine.com/2024/04/sliding-3d-image-frames-css/

A lot of cool CSS Tricks to create a fancy reveal animation 👇

A fancy hover effect to reveal image inside a 3D box

css, (edited ) to CSS
@css@front-end.social avatar

💡 CSS Tip!

Use modern CSS to create those famous rounded tabs with inner curves.
✅ No extra element & No pseudo-element
✅ Less than 10 CSS declarations to get the three variations
✅ One variable to control the curvature
✅ Works with gradient coloration

Demo: https://codepen.io/t_afif/pen/JjVpPmr via :codepen: @codepen

Online Version: https://css-tip.com/rounded-tab/

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

For the last 4 years, I got to spend most of my time on #CSS specs. I had a lead role in cascade layers, container queries, & scope (all shipping) – now responsive type & mixins/functions.

I hope to keep at it, but this is open-source work, and (like many others) my funding was suddenly cut this year. So I’m looking for sponsors.

For now, @OddBird will fund what we can. If you or your company would like to help, you can also support that work through Open Collective: https://opencollective.com/oddbird-open-source#category-ABOUT

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

💡 CSS Tip!

Use the round() function and create a fluid typography with a discrete function instead of a continuous one.

Define the step and get precise values within a specific range. Very useful if you have some calculation based on the font-size like using the em unit. No more rounding issue!

Demo: https://codepen.io/t_afif/pen/RwOxLNQ via :codepen: @codepen

Online Version: https://css-tip.com/fluid-typography/

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

Use modern CSS and add a cool Wavy divider to your section! 〰️🌊

Only one property and two gradients are needed.

Demo: https://codepen.io/t_afif/full/RwOLZrL via :codepen: @codepen

Does the code look complex? Two variables are all you need to update to control the shape. 😍

Online Version: https://css-tip.com/wavy-divider/

A section with a wavy divider at the bottom

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

Obligatory Reaction to My Old CSS-Tricks Job Re-Opening https://geoffgraham.me/obligatory-reaction-to-my-old-css-tricks-job-re-opening/

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

I reached 150 Tips on my CSS Tip website! 🥳

What about learning a new CSS trick? Let me pick one for you!

👉 https://random.css-tip.com 👈

It only takes one minute to learn something new. What are you waiting for? You are one click away from getting a cool CSS demo 🤩

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