Skip to content

Instantly share code, notes, and snippets.

p {
margin: 20px;
}
html {
font-size: 10px;
}
p {
font-size: 1rem;
}
p {
font-size: 2rem;
}
.box{
font-size: 30px;
}
p{
font-size: 1em;
}
/* .box{
font-size: 30px;
} */
p{
font-size: 1em;
}
<div class="box">
<p>I am paragraph in a box container</p>
</div>
import styled from "styled-components";
const Button = () => {
return (
<StyledButton>Styled Button</StyledButton>
)};
export default Button
const redux = require("redux");
const createStore = redux.createStore;
// String constant
const BUY_COFFE = "BUY_COFFE";
// Action creator function
const buyCoffe = () => {
return {
type: BUY_COFFE,
<p>I am paragraph</p>
p {
font-size: 1rem;
}