Better Programming

Advice for programmers.

Follow publication

Member-only story

10 CSS Tricks That Greatly Improve User Experience

Shuai Li
Better Programming
Published in
8 min readJan 27, 2022

A successful Web App must have a good user experience. What do you think of when we talk about improving the user experience?

In fact, there is a point that is easy to be ignored by developers, that is CSS. We can use some CSS tricks to improve the presentation, interaction details, and accessibility of a webpage.

And these tricks don’t cost much and don’t consume server resources. You only need to spend two hours learning, then you can apply it to all your projects, and improve user experience forever.

Clickable area

Sometimes your button is small, which may cause users to not be able to click the button accurately. This phenomenon often occurs on mobile phones.

It can be very frustrating for users if they click too many times and don’t click the button they want, or click the wrong button.

So how to solve this problem? Some developers might say: make the button bigger.

But the sizes of elements in webpages are often fixed, we cannot easily adjust the size of an element. And if the button is too big, it feels weird.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Shuai Li
Shuai Li

Written by Shuai Li

An enthusiastic game player of Earth Online.

Write a response