Material UI is a set of React Components that implement Google's Material Design in the best way I have seen so far.
Now I have a project where I am unfortunately not able to use React.js. But I want to use the great CSS the project includes.
Is there any way to embed the styles into my existing project?
I don't know exactly if this implements the exact same components of the material ui framework, but I've used it for apps that require material design and it seems to be what you are looking for. Also from looking at the source of Material UI there seems to be no easy way to extract the stylesheets.
Hope this helps
<button style="border:10px;background:none;box-sizing:border-box;display:inline-block;
font:inherit;font-family:Roboto, sans-serif;tap-highlight-color:rgba(0, 0, 0, 0);
cursor:pointer;text-decoration:none;outline:none;transform:translate3d(0, 0, 0);
vertical-align:bottom;transition:all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
position:relative;height:56px;width:56px;padding:0;overflow:hidden;
background-color:#ff4081;border-radius:50%;text-align:center;-webkit-appearance:button;"
tabindex="0" type="button" data-reactid=".0.1.0.0.1.1.1.0.0">
<div data-reactid=".0.1.0.0.1.1.1.0.0.0">
<div style="transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; top: 0px;"
data-reactid=".0.1.0.0.1.1.1.0.0.0.1">
<svg style="display:inline-block;height:56px;width:24px;transition:all 450ms
cubic-bezier(0.23, 1, 0.32, 1) 0ms;line-height:56px;fill:#ffffff;color:#ffffff;
-webkit-user-select:none;" viewBox="0 0 24 24" data-reactid=".0.1.0.0.1.1.1.0.0.0.1.1:$/=10">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" data-reactid=".0.1.0.0.1.1.1.0.0.0.1.1:$/=10.0">
</path>
</svg>
</div>
</div>
</button>
To provide context for previous contribution:
Trying to give back to the community :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.