More CSS Features
1348
Views
5
Comments
Implemented
Frontend (App Interfaces)
OutSystems 5.0

Allow us to define more than one CSS class for an element.

Also allow us to choose CSS classes that are defined for a particular type of elements.

2016-04-21 20-09-55
J.
 
MVP

I agree with the first one, although you can do that with extended properties.

Care to explain the 2nd line. I don't understand what you are meaning by that.

To add some more, I would like to see if we can choose if the CSS will be minified, or even inline on the page itself.


What I mean by that is that if you define a class for a particular element, for instance div.style1 {}, you cannot choose it from the style's drop down in service studio.

You can already do this in 5.0! The Style property is now free text, which means you can add more than one class:



You can also use the selectors you mention, and Service Studio even does the correct preview for you! For instance, suppose you have the following styles:



Setting it on a div will show you this preview:



While setting it on a button will give you another preview!



Hope this helps!
Rodrigo

That's great! I took a look at the 5.0 release before submiting the idea, but I couldn't see how to do it so I though it wasn't yet available.


Thank you.

Already Done.