You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the best bits of ES6 and CSS to style your apps without stress
importReactfrom'react';importstyledfrom'styled-components';// Create a <Title> react component that renders an <h1> which is// centered, palevioletred and sized at 1.5emconstTitle=styled.h1` font-size: 1.5em; text-align: center; color: palevioletred;`;// Create a <Wrapper> react component that renders a <section> with// some padding and a papayawhip backgroundconstWrapper=styled.section` padding: 4em; background: papayawhip;`;exportdefault()=>{// Render these styled components like normal react components. They will pass on all props and work// like normal react components – except they're styled!return(<Wrapper><Title>Hello World, this is my first styled component!</Title></Wrapper>);}
技术
iphone - :active pseudo-class doesn't work in mobile safari
eleme/element-react
styled-components
Framework7 Vue
Sizzy
Easy Mock
微信扫一扫登录内部实现原理
快来看看Google出品的Protocol Buffer,别只会用Json和XML了
前端框架大作战! @px0078
产品
Atlassian Design
The text was updated successfully, but these errors were encountered: