Rounded off borders and adjusted margin

pull/379/head^2
seanj29 2 years ago
parent 6f75f65d0a
commit 245677ebfd

@ -11,7 +11,7 @@ const hexaColor = () => {
const RandomDiv = () => { const RandomDiv = () => {
return ( return (
<div <div
style={{backgroundColor: hexaColor(), display: 'flex' , alignItems: 'center', justifyContent: 'center', borderRadius: "0.25vw", height: "10vh" , width: "50%", margin: '5px auto'}} style={{backgroundColor: hexaColor(), display: 'flex' , alignItems: 'center', justifyContent: 'center', borderRadius: "1vw", height: "10vh" , width: "50%", margin: '0.5vh auto'}}
>{hexaColor()}</div>) >{hexaColor()}</div>)
} }

Loading…
Cancel
Save