Comments on: CSS Grid and Custom Shapes, Part 2 https://css-tricks.com/css-grid-and-custom-shapes-part-2/ Tips, Tricks, and Techniques on using Cascading Style Sheets. Fri, 11 Nov 2022 14:43:14 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Chris https://css-tricks.com/css-grid-and-custom-shapes-part-2/#comment-1796822 Wed, 24 Aug 2022 11:40:41 +0000 https://css-tricks.com/?p=372396#comment-1796822 Great series.

Just noticed that on the Circular Image Grid if you mouse over on the edge at the half way mark around each circle the image can’t decide whether to expand or not and just flickers

]]>
By: Temani Afif https://css-tricks.com/css-grid-and-custom-shapes-part-2/#comment-1796817 Tue, 23 Aug 2022 19:14:58 +0000 https://css-tricks.com/?p=372396#comment-1796817 In reply to Travis Williamson.

It’s your responsibility (not mine) to correctly name the variables. I am not giving you a code to copy/paste, I am detailing CSS tricks and how to use them and the logic behind them. I am also detailing the purpose of each variable when used so I can give them any name I want, it doesn’t matter.

It’s not my fault if people came here to simply do a copy/paste of code. They need to first understand the code and then use it. Naming the variable will depend on where you will use them on your real project. If you will simply take the names I will give them it doesn’t make sense because they may conflict with other variables names you are already using. So in all the cases, you have to rename them.

]]>
By: Travis Williamson https://css-tricks.com/css-grid-and-custom-shapes-part-2/#comment-1796814 Tue, 23 Aug 2022 16:20:14 +0000 https://css-tricks.com/?p=372396#comment-1796814 The CSS variables should have a meaningful name. Naming variables --s and --g reduce the maintainability of the code. There are many amateur coders that learn from this website and these type of antipatterns should be avoided.

]]>
By: noo ABIAR https://css-tricks.com/css-grid-and-custom-shapes-part-2/#comment-1796805 Mon, 22 Aug 2022 18:12:31 +0000 https://css-tricks.com/?p=372396#comment-1796805 very nice effects
thanks

]]>