Designing Responsive WordPress Pages with HTML and CSS
In this article, we'll explore how developers can design responsive WordPress pages using HTML and CSS, providing practical tips for both new and experienced developers.

I’d like to share a guide on how to create UI designs for iOS mobile apps. This guide covers essential topics that we need to know to make high-quality designs **that are **consistent with Apple’s guidelines.
Structure:
In Figma, you can find different artboard sizes for iPhone, and you could ask yourself which one you should pick for the design. The thing is on a code level, XCode automatically adjusts the layout design to the selected device, so you can choose the artboard size for the most popular iPhone and design UI considering the layout specifications of this model.
The image below demonstrates layout regions and specifications for the iPhone 14 Pro.
☝ ️UI elements such as buttons and controls must be placed only within the area that is not covered by Status Bar and Home Indicator regions to avoid interfering with interactive iOS system elements.
Grids help arrange content in a structured way. Commonly, they are used in responsive website design, however, they are still useful for mobile apps.
How to define a grid for a mobile app:
👉 Check out this great article to learn more about mobile grids.
iOS has a defined set of system and semantic colors that automatically adapts to vibrancy, accessibility settings, and appearance mode.
A semantic color is a color that has a name that explains its purpose. Each semantic color has color variants such as Primary, Secondary, and Tertiary, that are used to differentiate content based on their level of hierarchy. For example, if you want to define a custom color for a Primary Background, the color name could be
appPrimaryBackgroundColorwhere
appis the short name of your brand/app and
PrimaryBackgroundis the semantic name of a color. It is worth mentioning that the name of a custom color should not be the same as the iOS system color.
Press enter or click to view image in full size
🎨 We will go over how to create a custom color palette with Apple’s guidelines in mind.
A primary color should convey the personality of your app. This is a basic color of a palette. This color is displayed frequently on most of the screens and components and it is used to indicate the primary actions. You can also use primary color shades to accent specific UI elements, as well as UI states for interactions like Tap, and Press.
To generate color shades in Figma, you can use this plugin.
Secondary colors are used to support the primary color and add depth and variety to the design.
In addition to a secondary color, you may come across the “accent” color term. You can consider accent colors as part of secondary colors, which are used to highlight important actions and controls.
Accent colors are best for:
To find secondary colors that complement the primary color, consider using color scheme generators like Coolors. Commonly, the app should have 1 primary, 1–2 secondary, and 1–3 accent colors.
In iOS, the fill colors are used for UI elements, that allow the background color to show through. The fill colors share the same color value, but with varying levels of opacity for each color variant.
iOS Fill colors variants:
iOS defines color variants for the background color to differentiate grouping content and elements.
A label color has primary, secondary, tertiary, and quaternary color variants. Depending on the level of importance the color has its own level of transparency.
A separator is a thin, horizontal line that is used to separate groups of content visually. They are often used in table views, collection views, and other parts of the user interface to create a visual hierarchy and help the user understand the structure of the content.
iOS defines two types of separator colors:
Separator(with a level of transparency) and
Opaque separator(regular separator).
Functional colors are used to indicate the state or status of an element or to provide context or a message to the user.
Guidelines for functional colors:
There are many Figma plugins available that can help with color management:
Apple has a set of built-in typefaces such as San Francisco and New York.
There are several variants of San Francisco, including SF Pro, which is the standard version of the typeface.
If you wish, you can still use custom fonts, and there are a few things to consider:
Consider using Google Fonts to preview different font combinations. You can also use a ready-made Google Font type pairing palette created by Figma.
We use different font sizes and weights to differentiate between text styles such as titles, headings, body text, and captions. By default, iOS has a set of pre-defined text styles, such as Large Title, Title 1, Title 2 and etc. Each of these text styles has an associated default font size and dynamic type sizes.
Dynamic Type is a feature in iOS that allows users to adjust the font size of the text in their apps. If you want to use a custom font, be aware that in addition to the default font sizes, the dynamic type sizes also should be defined on a code level to make sure that a user can adjust the font sizes of the text.
Consider using the following table as a guide for selecting default font sizes for your custom font styles.
Tracking and leading are essential text properties that allow us to fine-tune text layouts for optimal readability and legibility.
Tracking is the spacing between glyphs. In CSS, it’s called “letter-spacing”, so tracking and letter-spacing are synonyms words.
Leading is the spacing between lines of text. In Figma and CSS, the property is called “line-height”. Increasing or decreasing line height can help to improve readability. Leading is measured from the text’s baselines.
👉A few tips for tracking and leading:
Icons are graphical elements that should communicate the meaning of the interface items, actions, and states. Effective icons are simple, familiar, and easy to understand for the users.
iOS provides a set of vector icons (SF Symbols) that you can use in your iOS app. Here is a Figma file where you can find SF Symbols. You can also edit and create custom SF Symbols, and here is a detailed video on how to do it.
A few tips for using icons in iOS apps:
To get more information about icons in iOS, check out Apple’s documentation.
iOS has a huge library of different types of components, you can find all of them in the documentation. I’d like to cover the three most popular components — List, Tab Bar, and Navigation Bar — which you can find in almost every iOS mobile app, and highlight the best practices for each of them.
A list and a table are ways to display collections of items. These items can be text, icons/images, or a combination of text and selection controls.
Best Practices
A tab bar is a global navigation control that enables users to switch between different views within an app. Each tab should be meaningful and descriptive.
Best Practices
A navigation bar is a navigational control that allows you to navigate through the hierarchy of the app.
Best Practices
Transition is the way of changing the appearance of one view or set of views to another.
iOS provides a set of standard transition styles. If you wish to create a custom animation, ensure that it follows the iOS standard style, otherwise, it will lead to additional efforts from the user to get used to them which can cause a reduction in user satisfaction.
Best practices to keep in mind:
Some of the tools that allow you to create custom transitions without code:
I hope this article was helpful to you. If you have any feedback or suggestions about the topic I’d be glad to hear from you!
👉 Check out my new YouTube channel!
👉 Subscribe to my newsletter on Substack!
👉 Feel free to connect on LinkedIn!
Originally published at medium.com
Anastasia Prokhorova
UX/UI Product Designer | Subscribe to my newsletter: https://anastasiaprokhorova.substack.com
In this article, we'll explore how developers can design responsive WordPress pages using HTML and CSS, providing practical tips for both new and experienced developers.
Why did we bother building all these fancy web interfaces, when all we ever needed was a text box?
At WWDC 2025, Apple introduced Liquid Glass and broke key design rules and principles. Will it hurt usability and accessibility?