JSFiddle - React, Tailwind, and code Playground
HTML
<!doctype html>
<html ⚡>
<head>
<meta charset="utf-8">
<link rel="canonical" href="amp-bind.html">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<script async src="https://cdn.ampproject.org/v0.js"></script>
<script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script>
</head>
<body>
<label for="color">Color</label>
<select name="color" id="color" on="change:fsize.hide,size.show,fmaterial.hide,material.show">
<option disabled selected></option>
<option value="blue">blue</option>
<option value="red">red</option>
<option value="green">green</option>
</select>
<label for="size">Size</label>
<select id="fsize">
<option disabled selected></option>
</select>
<select hidden name="size" id="size">
<option value="small">small</option>
<option value="medium">medium</option>
<option value="big">big</option>
</select>
<label for="material">Material</label>
<select id="fmaterial">
<option disabled selected></option>
</select>
<select hidden name="material" id="material">
<option value="paper">paper</option>
<option value="plastic">plastic</option>
<option...