0

Let's say I have a class called TextEditor which extends TextArea, so what's the right selector for this? Selector like .text-editor didn't help.

Well, actually .text-area works fine, but that's no the solution.

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
4lex1v
  • 21,367
  • 6
  • 52
  • 86

2 Answers2

0

CSS isn't aware of the Java classes that you have created. Manually add a CSS class and use that to style it. E.g. class="TextEditor" then style it with .TextEditor

littledynamo
  • 406
  • 3
  • 12
0

You may define your own selector that customizes the default .text-area selector. And set the id of your custom class with this selector. See the "Changing the table column header style : Customzing" section of this answer.

Community
  • 1
  • 1
Uluk Biy
  • 48,655
  • 13
  • 146
  • 153