-PURE a modo de ejemplo se aplica
-Pero TAILWIND no llega a extender sus propias clases
Código HTML:
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style type="text/less"> @import (reference) "https://s3-us-west-2.amazonaws.com/s.cdpn.io/18728/pure.less"; @import (reference) "https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css"; [class|=grid]{display:grid;} .btn2:extend(.bg-blue-500){}; .btn1:extend(.pure-button){}; </style> </head> <body> <div class="btn1">Si hereda</div> <div class="btn2">No hereda</div> <script src="//cdn.jsdelivr.net/npm/[email protected]"></script> </body> </html>