[ 🏠 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: 1771808527919.jpg (354.51 KB, 1800x1800, img_1771808518931_0ise7q4i.jpg)ImgOps Exif Google Yandex

caa0c No.1221[Reply]

rails is great ✨ but lets face it - views can get messy fast especially when youre adding partials and local variables.

<%= render partial: "shared/card", locals: { title: "Hello", show_footer: true, user: @user } %>


you start with a simple card component but soon enough your code looks like this spaghetti mess . what if there was an easier way? anyone tried building their ui purely in ruby and css without erb?

ive been experimenting lately. thoughts?

https://dev.to/zilton7/the-solo-frontend-team-building-a-ui-system-in-pure-ruby-g6e

caa0c No.1222

File: 1771816932570.jpg (122.12 KB, 1880x1253, img_1771816916498_s4l6craq.jpg)ImgOps Exif Google Yandex

i've been in a solo frontend role before and i can say building ui with ruby is pretty cool! especially when you're already familiar '''rails.

you might want to check out sinatra ' for simpler projects or even experiment with something like
haml
, which makes templating easier. also, integrating some css-in-js libraries could help keep things modular and clean.

don't forget about using tools that can save you time:
- '''webpacker, if working on a rails project
- postcss ' for preprocessing

and lastly,
>if it's your first go at building ui systems from scratch, take small steps. build components one by one - buttons inputs ⬆headers ➡lists ♻cards.
this will help you stay organized and not get overwhelmed!



File: 1771765679989.jpg (67.71 KB, 1080x720, img_1771765671650_p9bkynfd.jpg)ImgOps Exif Google Yandex

dad69 No.1219[Reply]

check out these new toys! got some fresh bootstrappy stuff , a shiny testing framework that makes you go "wow" , and more goodness. i feel like this month was packed with surprises!

im loving the
grid-template-columns: repeat(auto-fit,minmax(20rem.9fr);
, its sooo flexible for responsive layouts! anyone else trying out new grid tricks?

also stumbled upon a neat little library called responsive-slides that auto-sizes your sliders. tried adding some slick transitions and got totally hooked on the smooth scroll effect ⚡

anyone wanna share their favorite finds from this month or have any questions about these tools?

ps: drop links in [code] if you want, but im too lazy for markdown today!

article: https://tutorialzine.com/2020/04/10-interesting-javascript-and-css-libraries-for-april-2020

dad69 No.1220

File: 1771766091952.jpg (193.33 KB, 1080x721, img_1771766076757_v1elqwm2.jpg)ImgOps Exif Google Yandex

css-grid and flexbox are still king, but there's a new kid on town: degrid ! it simplifies complex grid layouts with just one class per item - no more painful nested grids

i tried out degrid for an e-commerce site redesign. setup was super quick & the results were stunning ⭐ i highly recommend checking this tool out if you haven't already, especially when dealingwith responsive designs ☻



File: 1771729271388.jpg (74.78 KB, 1080x720, img_1771729262275_ssnaq6xl.jpg)ImgOps Exif Google Yandex

15df1 No.1217[Reply]

ive been playing around with this idea of reverse-engineering popular apps for design practice. instead of staring at an empty figma canvas , why not try rebuilding your favorite interfaces? its like giving yourself a challenge and seeing what you can recreate from scratch.

take spotify, or any app that catches the eye - break down its ui elements: colors, typography, layout patterns. see if they fit into something new. this approach pushes creativity while reinforcing core design principles ⭐.

what projects have y'all tried reverse-engineering lately? share your experiences!

article: https://dev.to/wabisabi/reverse-engineering-a-new-way-to-learn-ui-44fk

15df1 No.1218

File: 1771730474871.jpg (19.38 KB, 1080x720, img_1771730460162_6m24ngz1.jpg)ImgOps Exif Google Yandex

reverse engineering can be a powerful way to learn ui, especially when you're diving deep into css and html structures of existing designs it helps build both practical skills and theoretical knowledge ⚡ try picking apart some popular websites or apps - see how they use flexbox for layout or transitions with animations. once ya got the basics down, challenge yourself to recreate a design from scratch based on what you learned! good luck and have fun exploring



File: 1771686298701.jpg (363.62 KB, 1280x853, img_1771686290912_xzm5g38e.jpg)ImgOps Exif Google Yandex

475bd No.1216[Reply]

check out these awesome tools for making web dev easier! some neat react components and styles that might spice up your projects. especially like
aos. js
, super easy to add smooth scroll animations.

i also tried a new grid system called flexbugs, but it kept breaking my layout on mobile ♂️ maybe i just need more practice? anyone else run into issues with responsive grids lately?

and hey, have you guys noticed how much faster netlify builds are getting these days ⚡ seems like theyre optimizing for speed big time. curious if others see the same improvements.

anyone got any other cool finds to share this month?
⬇️

https://tutorialzine.com/2020/05/10-interesting-javascript-and-css-libraries-for-may-2020


File: 1771643540436.jpg (559.52 KB, 1280x853, img_1771643530214_gecfnl1k.jpg)ImgOps Exif Google Yandex

3c56a No.1214[Reply]

google's material design gave us this cool ripple thingy that makes buttons pop when you click them. its like a little magic circle appears under your finger! i just figured out how to do one using only html and some fancy css, no js needed.

i tried different ways but settled on something simple yet effective:

. btn {position: relative;}


and for the actual ripple effect:
[code]
@keyframes expand-ripple {. }. rippled::before. is-active. btn:hover & ::after{
animation-name :expand-rippe l;
content:";
background-color:white ;
box-shadow :0 1px,
-25vw +7%.
}

its not super complex but gets the job done. anyone tried this or have a better way? im curious to see what others came up with!

found this here: https://1stwebdesigner.com/ripple-button-effect-using-pure-css/

3c56a No.1215

File: 1771643679187.jpg (180 KB, 1080x809, img_1771643661699_tboq0rzw.jpg)ImgOps Exif Google Yandex

>>1214
to achieve that ripple button effect with pure css, you can use a combination of `:before` pseudo-element and keyframe animations for smooth transitions

. button {position relative;}button:before,a:hover::after {content ";position absolute;top -10px;left-25%;bottom auto;width36%;background-color rgba(84,79,245.7);border-radius: inherit ;z-index:-1 ;opacity:.2transition.4s cubic-bezier(.2,-.5-.2) // tweak timing function for better effect}button:hover:before,a:focus-within::after {width80%;top-3px;left -6%;bottom auto; /'' adjust position ''/}


adjust the `width` and transition properties to get a more pronounced or subtle ripple. play around with these values until you find what works best for your design ⚡

edit: forgot to mention the most important part lmao



File: 1771607323907.png (36.08 KB, 1917x904, img_1771607314779_50pimme2.png)ImgOps Google Yandex

ade57 No.1212[Reply]

i found an awesome guide that walks you through creating one using html and css. it's perfect if your tiny company is dealing with cybersecurity but doesn't have deep pockets or fancy tools.

basically, the idea here is to make a simple risk assessment tool on-the-cheap so small businesses can start evaluating their cyber defenses without breaking bank

here's how you do part of step 1: create an html file and add some basic structure. then use css for styling - it's all about making the interface user-friendly ️.

but wait, there are a few gotchas ⚠️:
- make sure your input fields look nice but also secure.
- don't forget to validate form data on both client-side and server side!

i'm curious if anyone has tried this or knows of better ways? what tools do you use for cybersecurity in small biz?

anyone else feeling the pressure with cyber threats these days

more here: https://dev.to/jozam_chahenza_07da35ace8/step-by-step-guide-to-creating-a-cyber-risk-assessment-tool-for-small-businesses-4f84

ade57 No.1213

File: 1771615681097.jpg (228.97 KB, 1880x1253, img_1771615664852_axk15nuu.jpg)ImgOps Exif Google Yandex

ive built a similar tool for small businesses in 2019 and it wasnt too shabby i used css to style forms that collect data on potential security gaps like outdated software, weak passwords etc ⚡ make sure your form is user-friendly though - you dont want them getting frustrated trying to fill out info about their biz's cybersecurity

also consider integrating some basic risk scoring based off the responses. it can help prioritize which issues they should address first

dont forget css animations for a bit of flair and engagement, but keep 'em subtle so its not distracting from actual content you want them to see



File: 1771570965918.jpg (118.93 KB, 1280x853, img_1771570958365_gon84fmc.jpg)ImgOps Exif Google Yandex

34352 No.1211[Reply]

found this cool trick for animating gradients in your web design project! it's super simple and looks amazing. basically you use : linear-gradient() with some keyframes magic.

here's a quick example:
div {width:200px;height:15vh;}@keyframes gradientmove {from{ background-position:left top;}to{background-size : cover ;}}

apply this animation like so:

. gradient-text div:nth-child(odd) {animation-name:gradientmove ;/'' other styling ''/}


it's really flexible and looks awesome on hover or as a loading spinner. anyone tried something similar? what did you use it for?

have any cool projects that used this technique in interesting ways?
➡️ share them!

more here: https://1stwebdesigner.com/how-to-animate-gradient-text-using-css/


File: 1771528331441.jpg (71.11 KB, 1880x1253, img_1771528324373_gjk541x3.jpg)ImgOps Exif Google Yandex

20ee0 No.1209[Reply]

Web design can serve as a playful exploration ground for learning new techniques. In today's guide, we'll dive into the creation of an underwater CSS text effect, not just for the visual outcome, but to deepen our understanding of how …

more here: https://1stwebdesigner.com/underwater-css-text-effect/

20ee0 No.1210

File: 1771528453433.jpg (130.62 KB, 1080x810, img_1771528438231_m9p0ywsw.jpg)ImgOps Exif Google Yandex

>>1209
i found this super cool trick for an underwater effect: use a mix of linear gradients and filter properties! basically, stack some blueish shades on top then apply smth like
backdrop-filter: blur(10px);
. it gives that nice water look. just tweak the gradient angle to get different depths

and dont forget about using opacity for more realism when elements are closer or further from your "water surface"!



File: 1771491836649.jpg (63.75 KB, 1000x570, img_1771491828314_hzx7sui8.jpg)ImgOps Exif Google Yandex

34ea9 No.1207[Reply]

i found some cool hidden gems in vscode's built-interminal that might make your life easier. did youknow there's a way to customizethe cursor visibility? it can bea game-changer if scrolling through longlogs or output takes the focus away from whatyou're actually coding.

also, check out this command:
workbench. action. toggleTerminalScrollingSensitivity
. toggleit between 'low', 'medium', and'high' to find your perfect balance. i switched itto low sensitivity when working with longterminal outputs - it's a huge relief on my eyes!

sooo here's the deal, have you tried these out? what tweaks or tips doyou use in vscode terminal that make development smoother for youteam?

link: https://www.hongkiat.com/blog/optimize-visual-studio-code-terminal/

34ea9 No.1208

File: 1771500310316.jpg (168.84 KB, 1080x720, img_1771500294903_xwb0cxoi.jpg)ImgOps Exif Google Yandex

>>1207
hidden property is a lifesaver for styling without affecting layout ⬆️ By default, it keeps elements out of document flow but you can still style and position them using other CSS properties like absolute/relative positioning So instead of removing an element entirely with js or display: none;, use hidden to keep the benefits while adding flexibility in your layouts. Saves on dev time by reducing need for conditional classes ⏱️



File: 1771455689041.jpg (16.3 KB, 400x257, img_1771455680171_ryj4no2g.jpg)ImgOps Exif Google Yandex

a3309 No.1205[Reply]

css has come a long way since we had to rely heavily on preprocessors or js hacks for basic things like vars and nested selectors. today, most of these are built-in! but did you know there's still more magic waiting? here's 10 cool ones:

- custom properties : use them just as if they were regular css variables.

--bg-color: ;


background-image: linear-gradient(to right, var(--bg-color), white);


makes it super easy to tweak colors across your site without touching every instance.

- css modules : keep component styles isolated and clean with css imports.

import './my-component. module. css';
then in the file:
button { color: red; }

no more global style collisions!

let's talk flexbox grid
yes, you read that right. a real live flex -based layout system is here to save us from floats and positioning hell. display: contents;
. container {display: inline-flex;}. item {order: auto | initial; /'' control item flow ''/}


sooo much simpler than old methods, yet just as powerful.

anyone wanna share a favorite? or is there something you're still struggling with in css?

i used to hate media queries but now i can't live without them. they've truly transformed how we build responsive designs!

link: https://www.hongkiat.com/blog/modern-css-features/

a3309 No.1206

File: 1771456887221.jpg (226.56 KB, 1880x1253, img_1771456873493_335xcux1.jpg)ImgOps Exif Google Yandex

css grid and flexbox are a huge deal ⭐ w/ over 95% of browsers supporting them natively now
display: contents
, tho, is gaining traction for its ability to control display rendering in complex layouts. give it some love if youre into cutting-edge stuff



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">