Subscribe
Sign in
Home
Archive
About
New
Top
Discussion
Don't just display a boring ALT text when your image doesn't load
Did you know that you can display a nicely styled text instead of the default ALT text in case your image is broken?
Shruti Balasa
Jan 4
12
Share this post
Don't just display a boring ALT text when your image doesn't load
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Improve UX by increasing the clickable area of a button with this neat trick
Ever been annoyed by tiny buttons on mobile phones? I’m sure at least once in your life you have zoomed in on a page just to click on a small button…
Shruti Balasa
Feb 16
8
Share this post
Improve UX by increasing the clickable area of a button with this neat trick
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Make your images interesting with just one line of CSS
I don’t know about you, but I totally love blob-shaped images like these on websites. It makes the page appear more modern (and less boring). I was…
Shruti Balasa
Mar 8
8
1
Share this post
Make your images interesting with just one line of CSS
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Do you know how to add a horizontal line on both sides of text?
Here’s is a nice heading style with horizontal lines in the middle on both sides. Do you know how to make this without adding additional divs or images…
Shruti Balasa
Jan 12
8
3
Share this post
Do you know how to add a horizontal line on both sides of text?
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Do you know about the :empty selector in CSS?
With so many properties and selectors available, it's easy to see why CSS can sometimes seem overwhelming. But if you take time to learn each of them…
Shruti Balasa
Feb 1
5
2
Share this post
Do you know about the :empty selector in CSS?
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Can you limit a paragraph width based on the text within?
The question is simple and it feels like the answer should be simple too. Suppose we have a short phrase in a paragraph element like this with a blue…
Shruti Balasa
Jan 19
3
Share this post
Can you limit a paragraph width based on the text within?
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Create Responsive Designs with CSS clamp
Today we're going to talk about the clamp() function. If you're not familiar with it yet, clamp() allows you to set a range of values for a property…
Shruti Balasa
Feb 22
2
Share this post
Create Responsive Designs with CSS clamp
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Create Dynamic Grid Layouts with CSS Variables
Have you ever had to change the number of grid columns for different screen sizes in your CSS? Maybe you've found yourself duplicating the same code and…
Shruti Balasa
Mar 22
3
2
Share this post
Create Dynamic Grid Layouts with CSS Variables
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Improve the UX of your links that open in a new tab or window
Have you ever clicked on a link expecting to stay on the same tab, only to see it open another tab? It can be frustrating for your visitors too! What if…
Shruti Balasa
Mar 15
2
2
Share this post
Improve the UX of your links that open in a new tab or window
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
This CSS property helps you display text better in narrow spaces
Ever been in a situation where you have to display some paragraphs in a narrow block or column? You must have noticed a lot of white space to the right…
Shruti Balasa
Jan 25
Share this post
This CSS property helps you display text better in narrow spaces
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
CSS is overwhelming? This tip will help you
I’ve brought you something different this week. One tip for you to make CSS a little less overwhelming. I’ve often been asked how to get better at…
Shruti Balasa
Nov 2, 2022
Share this post
CSS is overwhelming? This tip will help you
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
Taking a break...
Hey all! As much as I love sending you these CSS tips every week, I need a short break. Hey all! As much as I love sending you all these CSS tips every…
Shruti Balasa
Dec 14, 2022
Share this post
Taking a break...
shrutibalasa.substack.com
Copy link
Twitter
Facebook
Email
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts