Interactive online courses HTML Academy
2026-03-09 12:56 Diff

Now let’s see how we can use the triangles that we have already learned to solve real-life problems.

The most obvious example is the triangles pointing either up or down that are used as sorting icons in product catalogs.

What is the advantage of creating these icons with frames? Because you can easily change the dimensions of CSS arrows and assign different colors and sizes. This is very flexible to do.

Control elements that are used for sorting are usually implemented using links. Let’s do the same: let the link contain explanatory text, and then transform the link pseudo-element into an arrow.