CSS selector data type
A CSS-style selector that is used by the <style>
element to define which element(s) are targeted.
MNX does not support the full complexity of CSS. For now, only two types of selectors are supported:
- Element selectors allow selecting any MNX element of the given name.
- Class selectors allow selecting any MNX element that contains the given class.
An element selector is simply the element name without any additional syntax:
<style selector="note" ...>
A class selector is the class name with a dot in front of it:
<style selector=".bolded" ...>