Change styles using the CSS panel
The CSS panel shows the defined style rules for any element that you select. You can also edit the styles for the element's classes, add inline styling, and create new style rules using the CSS panel's Styles tab.
To see a list of CSS properties for an element, switch to the Computed tab.
To create a new style rule in your document:
- Select an element that you want to apply the new style rule to.
- Click the Add rule button at the bottom of the CSS panel.
- Google Web Designer generates a unique class selector, which you can edit. If you enter a class selector, Web Designer adds that class to the selected element.
- Between the brackets for the new rule's declaration, click Add property and enter a CSS property and value, e.g.,
- Continue to add new property/value pairs until the rule is fully defined.
To add an inline style to an element:
- Select an element.
- In the CSS panel, click Add property button in the inline style block.
- Add property/value pairs to change the element's style.
To modify a style:
- Select an element in your document. The CSS panel displays the style rules associated with the element.
- Click a property or value to edit it.