Skip to content

Silex CSS editor

stache1draht edited this page Feb 3, 2018 · 41 revisions

Silex CSS editor

What for?

The CSS editor in Silex free website builder is useful when you want to add CSS rules to your website:

  • to add interactivity, i.e. change the style of an element on mouse over, when a link has been visited already, when a given page is opened, etc...
  • give several elements the same style
  • use advanced styles not available in Silex with a click of the mouse

It is the complementary to the HTML and Javascript languages, which are also available in Silex. See Silex and HTML and Silex and Javascript pages.

How to?

Open the editor with the view menu, CSS style editor item.

There you can add standard CSS rules. Feel free to get started with CSS here.

Silex CSS classes

When you add a CSS rule to your website in the CSS editor, it is applied to the whole website, not just an element - e.g. this changes the border of all the elements of your website:

div{
    border: 1px solid black;
}

You also can target specific elements with the CSS classes which are applied by Silex:

  • elements *

This page is an issue here

We need help to move this page from its old issue to here, read this if you want to help: Move Docs to Wiki

WARNING: Support for Silex v2 has stopped. Try Silex v3 alpha, Read about it, Subscribe to the newsletter

Clone this wiki locally