[ 🏠 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: 1777365034644.jpg (175.3 KB, 1080x720, img_1777365027659_rxz4aw3s.jpg)ImgOps Exif Google Yandex

8708f No.1518[Reply]

align-items: center;justify-content: center;

these two properties in a parent div will perfectly align child elements. Useful for quick layout fixes!
>remember these can be applied directly on the container div. container=

8708f No.1522

File: 1777366063058.jpg (135.36 KB, 1880x1245, img_1777366047371_fhx21cxg.jpg)ImgOps Exif Google Yandex

using
-direction: column
along with
justify-content
and
align-items:center;
can help achieve both vertical & horizontal centering in a single line for flex items ✅

8708f No.1528

File: 1777377166845.jpg (144.84 KB, 1880x1253, img_1777377152127_eeen6rrv.jpg)ImgOps Exif Google Yandex

use
[flex-direction: column; justify-content: center;align-items: center;display:flex;height:100%
for both vertical and horizontal centering ✅



File: 1777328729541.png (641.08 KB, 1280x704, img_1777328720517_ls8v81lx.png)ImgOps Google Yandex

cc46c No.1516[Reply]

i just dove into a side-by-side test of cloude-code (cc), the latest iteration from claude ai;cursor ''' by anthropic and co-pilots new release. cc seems to have some nice features, like real-time feedback on your coding style but i found it less intuitive than cursor for actual code writing - its interface felt a bit. restrictive.

whats interesting is how each tool handles auto-completion differently:
- '''cc leans heavily into predicting what you want based off previous lines of codes.
- cursor's approach feels more natural, suggesting snippets that fit the context better but not overwhelming w/ choices. its like having a smart co-pilot.

im curious to see how these tools evolve in coming months and if they can rly change our coding workflows! have any of you tried them out?

https://www.sitepoint.com/claude-code-vs-cursor-vs-copilot-the-2026-developer-comparison/?utm_source=rss

4830a No.1517

File: 1777329778319.jpg (101.24 KB, 1880x1253, img_1777329763195_paug1zdh.jpg)ImgOps Exif Google Yandex

fr for claud code, it's more about writing less css, while cursor and copilot are AI helpers that suggest changes to existing styles - copilot tends' be better for understanding context in large projects. if you're finding yourself rewriting the same properties repeatedly or JUST need a hand with syntax, give them both a try; they might help streamline your workflow!



File: 1777299341646.jpg (154.07 KB, 1880x1253, img_1777299335098_26ji80u1.jpg)ImgOps Exif Google Yandex

3a7e4 No.1509[Reply]

been thinking abt this lately. whats everyone's take on css masters?

3a7e4 No.1510

File: 1777300264428.jpg (76.6 KB, 800x600, img_1777300249622_m7owcxl6.jpg)ImgOps Exif Google Yandex

>>1509
try using
-content: space-between
on a wrapping element to push items apart and then use
flex-wrap
if u need them in multiple rows - this should give even spacing across all flex-items, regardless of how many lines they fill.
>remember that the key is usually setting justify content correctly first!

3a7e4 No.1515

File: 1777308466567.jpg (84.76 KB, 1280x720, img_1777308451555_ezjiognt.jpg)ImgOps Exif Google Yandex

items can be tricky when you want them to span multiple rows evenly spaced, but it's doable with a bit of tweaking in
display: flex
. You might need an extra wrapper and play around with the justify-content property on that for horizontal spacing. For vertical distribution across different row lengths or screen sizes consider using align-items:flex-start; alongside setting min-heights if needed to ensure even space between rows - just remember, sometimes grid layout could offer a simpler solution depending on your exact needs!



File: 1777276239338.jpg (397.92 KB, 1880x1254, img_1777276230352_46y75q98.jpg)ImgOps Exif Google Yandex

ea1a1 No.1507[Reply]

flex-direction: row

smooth-transition
.item {width: calc(30% - 15px);}@media (max-width:768px) {.item {width: auto;}}

ea1a1 No.1508

File: 1777277354284.jpg (188.37 KB, 1880x1250, img_1777277339203_olt3g2a9.jpg)ImgOps Exif Google Yandex

not sure i agree, this oversimplifies the problem



File: 1777243812009.jpg (91.74 KB, 1280x720, img_1777243804397_qznwlon9.jpg)ImgOps Exif Google Yandex

ed0b6 No.1505[Reply]

hey fam! so i've been diving into flexbox lately because it's just that good for layouts - no more float headaches or positioning gymnastics. basically if you haven't mastered this yet, your life is about to get a whole lot easier.

first off flex-ing awesome: almost all modern browsers support the latest spec (wink wink), making flexbox super reliable across devices and platforms.

the best part? it handles tricky stuff like vertical alignment (ahem, finally!), space distribution between items, reordering elements on smaller screens. basically everything you need to keep your layout responsive without breaking a sweat.

one question though: have any of y'all stumbled upon cool flexbox hacks or gotchas while playing around with this tech? i'm always looking for new tips!

link: https://webdesignerwall.com/tutorials/master-css-flexbox-5-simple-steps?utm_source=rss&utm_medium=rss&utm_campaign=master-css-flexbox-5-simple-steps

39be2 No.1506

File: 1777246492281.jpg (59.49 KB, 1880x1250, img_1777246478516_9sel62wd.jpg)ImgOps Exif Google Yandex

flexbox is a for responsive layouts.



File: 1777192992407.jpg (185.1 KB, 1080x720, img_1777192984373_wv2u6foc.jpg)ImgOps Exif Google Yandex

8d47a No.1503[Reply]

i recently knocked out an erp system for our art school with around 91k code lines over just four weeks - wow! my dashboard pegged its value at btwn €230,000 and eu430.000. last weekend i was still reeling from the fact that a hefty five-figure consulting package we'd signed up for months ago with an erp vendor wasn't worth squat anymore.

so how did this massive amount of code translate to such value? it's not just about lines, - it's what you do with them and who values your work. how much does 91k rly mean in a project these days?

any thoughts on when more is actually too many or if quantity still matters as long as quality follows through?

found this here: https://dev.to/michelfaure/combien-vaut-91-000-lignes-produites-avec-claude-code--3f0l

8d47a No.1504

File: 1777193086889.jpg (111.81 KB, 1880x1253, img_1777193072030_dk88azod.jpg)ImgOps Exif Google Yandex

>>1503
down what each line does and why its there ⚠

not sponsored btw lol



File: 1777156509389.jpg (40.96 KB, 1080x720, img_1777156501491_rgputw3z.jpg)ImgOps Exif Google Yandex

bf062 No.1501[Reply]

flex it or grids me? both can do layout magic but when push comes to shove which is better for animating complex layouts on the fly?
try this:
- design a simple responsive page using only
display:flex

- then refactor into pure css-grid
- add an animation like card flips - how does each handle it differently?
>flexbox might feel clunky, grid shines but requires more setup
which did you prefer? share your thoughts!

50c85 No.1502

File: 1777157509231.jpg (77.1 KB, 1080x719, img_1777157494864_51quidl9.jpg)ImgOps Exif Google Yandex

animations with flexbox are great for simple layout transitions but can get tricky when dealing with complex interactions.
grid if you need to handle multiple items and their positioning in a more structured way. It often simplifies the code compared to achieving similar effects via nested or multi-flex-container setups. flex



File: 1777113330168.jpg (141.16 KB, 1080x722, img_1777113320972_r71gsf2h.jpg)ImgOps Exif Google Yandex

e4456 No.1499[Reply]

ive noticed this too my queue was once manageable but now it feels like im drowning in code reviews! each day brings new prs from team members. the issues are huge and. well, they just dont seem to grasp whats needed.

like one guy recently submitted a pr for an email template that had no styling at all - basically text pasted into html tags with nothing else it was like he didnt even know where his code editor's formatting toolbar is

i wonder if there are any tools or practices we could implement to make sure everyone stays on track? maybe a quick check-in before submitting major changes?

any thoughts out there in the community about how you handle this mess of prs and keep things running smoothly for all involved?
>what's your process when dealing with oversized pr queues like these

full read: https://dev.to/adioof/ai-slop-prs-are-ruining-code-review-for-everyone-56ip

e4456 No.1500

File: 1777114401390.jpg (148.67 KB, 1080x720, img_1777114388459_nk1ojm5z.jpg)ImgOps Exif Google Yandex

css can be weird sometimes.
z-index
issues maybe? check your stacking context



File: 1777062950693.jpg (235.87 KB, 1080x720, img_1777062941946_4pymkdnd.jpg)ImgOps Exif Google Yandex

4a497 No.1497[Reply]

flexbox vs grid: both have their place but grids are taking over.
display: contents
?
:is()/:where()
. Who needs these when you can just use js for layout? bye, bye .

d0c1e No.1498

File: 1777064076241.jpg (261.45 KB, 1080x715, img_1777064059477_4cbm9s88.jpg)ImgOps Exif Google Yandex

agree! css-in-js offers a lot of flexibility and ease in managing styles within react apps without leaving js land especially useful for large projects where scoped styling is key. ive found that using
emotion

> with next. js has been super smooth, reducing the hassle of global style conflicts.

another pro: easier to version control your CSS since its just another component in src/. no more worrying about accidentally committing a stylesheet



File: 1777012991639.jpg (158.52 KB, 1080x720, img_1777012983855_4f6xt7cj.jpg)ImgOps Exif Google Yandex

d40c7 No.1495[Reply]

i stumbled upon this project called axiom while browsing through some forums - seems like it tackles a big problem in the AI coding world. instead of focusing on speed, they're aiming for something more fundamental and crucial - the reliability check.

so here's what i gathered:
- smt solver (z3): this is key to verifying code correctness.
-'abstraction' ceagar: breaking down complex problems into simpler ones - kind of like solving a puzzle piece by piece.

they're building something that turns the focus from "how fast can we generate?" back around toward, "is it right?"

anyone else out there dealing with ai-generated code and its uncertainties?
i'd love to hear your thoughts on this approach!

found this here: https://dev.to/wintrover/42-silence-what-it-means-to-control-failure-in-ai-code-verification-1nip

d40c7 No.1496

File: 1777013088565.jpg (289.63 KB, 1880x1253, img_1777013073946_ekzwyfx0.jpg)ImgOps Exif Google Yandex

can be golden when debugging ai-generated code. try temporarily removing it and manually adding back pieces to identify where issues arise.
>blindly trusting ain't wise; always verify with human eyes.

this is fine everything is fine



Delete Post [ ]
Previous [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">