|
|
Re: How to Adress Single Elements with an Css File [message #1714572 is a reply to message #1714566] |
Fri, 13 November 2015 16:02 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
You can match single elements by name (or qualified name):
Class[qualifiedName="MyPackage::MyClass"]{
fillColor: blue;
}
Or using named styles (CSS Classes), which need to be applied manually from the "Style" tab of the properties view ('Applied Styles'):
.myClass1 {
fillColor: blue;
}
.myClass2 {
fillColor: red;
}
Edit: In theory, you could also use CSS Ids (#myClass1), which are unique (Unlike CSS Classes), but since this seemed seldom useful, it isn't exposed in the properties view anymore. However, the property exists and is supported, so you could customize the properties view to expose it again.
HTH,
Camille
Camille Letavernier
[Updated on: Fri, 13 November 2015 16:05] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02607 seconds