This is a migrated thread and some comments may be shown as answers.

CSS shorthand notation

1 Answer 48 Views
NativeScript Insiders
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ian
Top achievements
Rank 1
Ian asked on 11 Jan 2015, 05:02 PM
Hi,
Is shorthand hex notation supported for NativeScript CSS colour assignments? For example, to assign the colour red to a class:

.item { color: red }         This works
.item { color: #ff0000 }  This works
.item { color: #f00 }        Shorthand notation doesn't work

Regards, Ian

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex
Telerik team
answered on 12 Jan 2015, 08:30 AM
Hello Ian,

Thanks for the feedback - we will make sure to add support for shorthand hex colors in the Beta release.

Regards,
Alex
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
NativeScript Insiders
Asked by
Ian
Top achievements
Rank 1
Answers by
Alex
Telerik team
Share this question
or