Targeting special element


#1

Hi there,

is there any way of targeting a especial element to theme it?

For example :

.class {
   float:left;
   margin:0;
}

I want to give a different color only to the float property, is it possible?

Thank you very much!
Atom is super cool! Thanks Git.


#2

You should be able to style elements using the ~/.atom/styles.less file does this not work for you?


#3

Thanks for the reply @ProbablyCorey

I probably explained bad, inside that file you have a lot of targets. But I want exactly to target the float element, I want to give it a different color, is it possible?

Thanks


#4

Ahh, there may be someway to do that using CSS tricks, like using contains. But I’m not a CSS expert. You would need to use the dev inspector to look at the elements classes and hierarchy.


#5

@ProbablyCorey Ey man, thanks i will try the contain thing.
Is it possible to use dev inspector on Atom?

Thanks man


#6

Yes, View > Developer > Developer Tools or ⌘⌥I.


#7

Thanks @leedohm!
That will probably help me!