Inkscape.org
Beyond the Basics How do you add a CSS class to an element?
  1. #1
    NickG_UK NickG_UK @NickG_UK

    I'm struggling to do the simplest of things. How do you add a CSS class to an object (so it can be styled by external CSS)?   In other SVG editors, it's next to the ID, but I can't see it in InkScape at all and searching the forums only shows that you can edit it by using the XML editor. But surely there's an easier way than this? 

    Thanks!

     

     

    !Boxy Shot 2022 11 30 143057
  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    Some info here... check the gif animation: https://wiki.inkscape.org/wiki/Release_notes/1.0.1#Selectors_and_CSS_dialog_unhidden

Inkscape Inkscape.org Inkscape Forum Beyond the Basics How do you add a CSS class to an element?