) is also available for all browsers. Riot.js has its own custom implementation in JS which does not rely on or fallback to the browser implementation. The example below is equivalent to the first one. Notice that the example below uses the :host pseudo-class instead of relying in the component name to scope the styles.

    1. <my-component>
    2. <h3>{ props.title }</h3>
    3. <style>
    4. h3 { font-size: 120% }
    5. /** other component specific styles **/
    6. </style>