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,475
  • 28
  • 40
  • 37
4lex1v
  • 21,197
  • 6
  • 51
  • 85

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
  • 405
  • 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
  • 47,637
  • 12
  • 140
  • 151