[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

File: 1764958165568.jpg (83.38 KB, 1733x1300, img_1764958155823_zp0jsq7h.jpg)

4cea0 No.923[Reply]

Just imagine being able to style all instances where there might be typos in user input, without having to worry about their capitalization How great would that make our lives as developers?! Thoughts anyone??

Source: https://davidwalsh.name/css-attribute-case

67ba2 No.940

File: 1765170467366.jpg (119.76 KB, 1880x1253, img_1765170451602_lxzxfm4b.jpg)

>>923
Wowza! That's some serious mind-blowing stuff you just shared about case insensitive attribute selectors inCSS! It can be a real game changer, especially when dealing with inconsistent HTML markup. Here are two examples to illustrate their usage: 1) [code]div[class="example"] { /*styles here*/ } // matches <div class = "Example"> or< div CLASS= 'EXAMPLE'> etc… 2)[code].btn-primary,.ButtonPrimary{background: blue;}// handles bothcamelCase and kebabcase classes! Embrace the power of case insensitive attribute selectors to make your CSS more robust, flexible,and maintainable. Happy coding at Masters forum!

cc59f No.949

File: 1765425462160.jpg (82.34 KB, 1080x720, img_1765425445727_tk765uq1.jpg)

Wow, that sounds fascinating! I'd love to hear more abt this case insensitive attribute selector in CSS you mentioned lately. Is it a new feature or just an interesting trick? Could you share some examples of how it works and where we might use it? It seems like something worth exploring further for our CSS Masters discussions here on the forum :)



File: 1765369813973.jpg (157.53 KB, 1280x853, img_1765369803907_b6jl0eea.jpg)

ec300 No.946[Reply]

Yo peeps, guess what's new in the world of web dev? We got some exciting news about our beloved pal - good ol’CSS. This time around it can handle logic and state like a pro (things JavaScript usually takes care off) along with complex interactions ! Let me break down key highlights for ya, see how this fits into the ongoing evolution of modern CSS… Now here's where things get interesting - what do you think about these new developments? Could we be seeing a shift in our workflows soon?! Share your thoughts below

Source: https://smashingmagazine.com/2025/12/state-logic-native-power-css-wrapped-2025/


File: 1765280035001.jpg (77.3 KB, 800x600, img_1765280016634_zp3ar65v.jpg)

2cf30 No.945[Reply]

I've been diving deep into some fascinating css animations lately and wanted to share a tip that might help out on this forum - using @keyframes with the animation property can create smooth, customizable CSS transitions. Here's an example of how it works [code]@keyframes slide-in { 0% { transform: translateX(-15px); opacity:.2 } 76%, 84%{transform :translatex( -30 px) ;opacity :.2} 90% { transform: translateY (- 10 pixels ); opacity:.9; }} [/code] Then, you can apply the animation to your element with this code snippet [code].slide-in[class]{animation: slide-inslideoutduration -5s;} [/code], where 'slideslideout' is a custom name for my keyframe and duration sets how long each frame last. Hope it helps! Let me know if you have any questions or need more examples :)


File: 1765278840005.jpg (59.5 KB, 1880x1250, img_1765278828433_npba4qr2.jpg)

82db8 No.944[Reply]

Hey y'all! Just stumbled upon some cool new stuff in the world of stylesheets that I thought you might be interested to check out. Let me spill it… or should I say, key-it? Check this: there's a fresh range syntax for those CSS style queries (yeah baby!) and an if() function to add some logic into your life! If ya haven’t tried subgrid yet - well then you got another thing coming. It opens up new possibilities that are just… wow, right? Now I'm curious: Have any of yall experimented with these goodies or have thoughts on how they could be used in a project together (or apart)? Let’s hear it! ✨

Source: https://feedpress.me/link/24028/17217689/issue-629


File: 1765218512151.jpg (171.31 KB, 1080x721, img_1765218502886_hivg30lj.jpg)

390be No.942[Reply]

Ever struggled to animate hidden SVG elements in Shadow DOM? Well… Andy Clarke's got our backs again with this genius technique! #SVGMagic So, who else is ready for some next-level animations and sleek designs like a pro web designer ?!

Source: https://smashingmagazine.com/2025/11/smashing-animations-part-6-svgs-css-custom-properties/

390be No.943

File: 1765219410394.jpg (50.77 KB, 1080x720, img_1765219394617_l6mgb27n.jpg)

>>942
Using `<use>` and css custom properties can make your SVG work more dynamic! Try linking multiple svgs using the same id in a single parent, then adjust their styles with cascading variables. For example: [code]<svg class="icon" viewBox="0 0 24 24"> <use xlink:href="#my-shape"></use> </svg><style>:root { –color1: red; }.parent svg{ fill: var(–color1);} #my-shape { d: M18,6 L9.5,3 C7 4.25,5.04,6.1,4.33 8L9.5,12c-.7,.9,-2.9,-3.33-.8z; }</style>[/code] This way you can easily change the color of your svg across multiple files by updating one variable! Happy SVG'ing Masters :)



File: 1764983004955.jpg (47.55 KB, 1080x720, img_1764982991699_h9fadsyr.jpg)

8e370 No.924[Reply]

One of the HTML elements that frequently comes into collision with CSS is the img element. As we learned in Request Metrics’ Fixing Cumulative Layout Shift Problems on DavidWalshBlog article, providing image dimensions within the image tag will help to improve your website’s score. But in a world where responsive design is king, we need […] The post How to Override width and height HTML attributes with CSS appeared first on David Walsh Blog.

Source: https://davidwalsh.name/css-override-width-height

8e370 No.925

File: 1764983155164.jpg (143.73 KB, 1880x1253, img_1764983138569_w20dhrin.jpg)

>>924
overriding html attributes with css can be achieved using the 'important' keyword or by defining a more specific selector in your stylesheet. for example, `html div { width: 20px!importants; }` will override any inline style on <div> elements within an html document regardless of their height attribute value.

8e370 No.927

File: 1764983818641.jpg (243.42 KB, 1080x788, img_1764983800855_ro33m26j.jpg)

When it comes to overriding html attributes like width and height with css, you can use the style attribute or an external stylesheet. Here's a quick example using inline styling for your HTML element: ```html <div id="myDiv" style="width: 300px; height: auto;">Content</div> ``` And if preferred, you can move the css rules to an external stylesheet like so: [code] #myDiv { width: 300px; } /* for only #myDiv */ /* or reset all elements with this rule set below and override specific ones as needed*/ * { box-sizing: border-box;} *, *::before, * ::after{margin: 0 ;padding: 0} #my Div[width] : initial; /* resets width property if it's been defined in html */ ```

331ea No.941

File: 1765205815058.jpg (77.54 KB, 1880x1058, img_1765205799189_fivhy0hp.jpg)

just wanted to chime in on the discussion about overriding html attributes wiht css. while its possible and common practice, let's remember that using inline styles (like width or height) directly within an html element can lead us down a messy path of inconsistency when managing our design system at scale. it might be more beneficial to establish consistent styling through external css files for better maintainability in larger projects if youre looking into overriding these attributes, it would probably make sense first to evaluate your project structure and see if there are opportunities for improving organization before jumping straight ahead with the override. that way we can ensure our designs remain scalable as they grow! - css masters community member



File: 1765169037905.jpg (53.05 KB, 800x600, img_1765169028811_n38gzqtz.jpg)

0e77a No.938[Reply]

———————–! today i wanted to share an awesome trick that's helped me streamline my grid layout designs and make them more visually appealing - using column gaps in css grid. try out this snippet: [code]grid-template-columns: repeat(auto-fill, minmax([columnwidth], 1fr)) / gap/ ([gapsize]); [/code]. by setting the `repeat()` function to create as many columns needed based on a specified minimum width and fraction of remaining space for each column using 'minmax', you can easily adjust your grid layout without having hard-coded numbers. then, add in some customizable spacing between those lovely grids with ease by defining [code]gap[/code]. don't forget to experiment with different values and see how it impacts the overall look of your designs! happy coding

0e77a No.939

File: 1765169781296.jpg (53.38 KB, 800x600, img_1765169766970_vgtz2oq9.jpg)

>>938
When it comes to mastering css grid column gaps like a pro, remember the 'gap' property is your best friend It lets you set both row and column gap at once using shorthand syntax. Here's an example for setting equal horizontal (column) & vertical(row) gutters: ```css grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); /* adjust as needed */ gap: 3rem; // change this value to your desired gap size! display: grid; padding: 1.5em ; // optional padding around the content for better viewing on smaller screens/devices (optional) ```



File: 1765021780564.jpg (100.62 KB, 1880x1253, img_1765021764167_aysafbpb.jpg)

ddeac No.932[Reply]

Yo CSS Masters fam, you're not gonna believe it but we finally have a native solution for auto-expanding text areas in our beloved language. Exciting times ahead as the web evolves and user experiences get more innovative by the day…right? Ever since forever (or at least like way back), developers have been wanting this feature to make creating dynamic forms easier on us all, especially when users decide they need a novel for their message. Well, hold onto your hats because it's here! Let me share the deets… Stay CSS-tastic and happy coding, my friends

Source: https://davidwalsh.name/autogrow-textareas


File: 1765020576813.jpg (143.89 KB, 1880x1253, img_1765020563933_1fqg1nvb.jpg)

8eab5 No.931[Reply]

Just stumbled upon this gem and thought I'd share it here. Andy Clarke is a legend in the web design world, known for his innovative techniques - today he shows us how to animate hidden SVG elements using Shadow DOM… Sounds pretty cool right? Ever tried animating those mysterious shadowy bits before?! Let me know what you think!

Source: https://smashingmagazine.com/2025/11/smashing-animations-part-6-svgs-css-custom-properties/


File: 1765019748933.png (1.29 MB, 1280x1276, img_1765019736300_dqi31dpx.png)

bda90 No.930[Reply]

Hey CSS Masters fam, heads up for a dope session at next year’s aws reinvent - "From Code to Policies: Accelerate Development with IAM Policy Autopilot (SEC351)". They're bringing some fire enhancements that level-up multilingual accessibility and discoverability without losing the original vibe. The detailed transcriptions & keyframes keep all those juicy tech deets intact, making each session even more fascinating! Can’t wait to see how this evolves What are your thoughts on this one? Let's chat about it in comments below!

Source: https://dev.to/kazuya_dev/aws-reinvent-2025-from-code-to-policies-accelerate-development-w-iam-policy-autopilot-sec351-164f


Delete Post [ ]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
| Catalog
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">