PDA

View Full Version : CSS ID good naming feature



shinriyo
15 Dec 2011, 5:28 PM
"CSS ID" is always random number name.:s

So, when I custom HTML5, it is difficult to read.

I want the below format
[object name]-[ordernumber]-[scene name]

For example, two "A_Object" in Scene3.

Result is below
[first object]
AObject-1-3

[second object]
AObject-2-3


_ is automatically removed.

arnebech
19 Dec 2011, 8:21 AM
Good input!
In the meantime you can always manually set the css id in the properties.

shinriyo
19 Dec 2011, 11:51 PM
Hi

"webkit-animation-name:" is always random no.
if css no is "hoge"
I want "ani-hoge" name.

N/A

.run #hoge {
-webkit-animation-name: AN-ani-53312;


GOOD!!

.run #anim {
-webkit-animation-name: ani-hoge;