(--------)
Hello,
You can do like this:
@startuml skinparam class { FontSize<<small>> 7 FontSize<<big>> 25 backgroundColor<<small>> Red } hide <<small>> stereotype class aaa<<small>>{ aaa() } class BBB<<big>> { BBB() } @enduml