Polymer Rails Example

Both of this navigations were implemented using .navigation class to apply styles. But web component's CSS and JavaSctipt are fully encapsulated and do not interact in any way with page's styles and JavaScript.