mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-18 03:41:35 +02:00
Add shadow to cover and browser frame
This commit is contained in:
@@ -5,7 +5,7 @@ const BrowserFrame = ({ content, source }) => {
|
||||
const flip = () => setContentActive(isActive => !isActive);
|
||||
|
||||
return (
|
||||
<div className="br2 ba b--black-20">
|
||||
<div className="br2 ba b--black-20" style={{ boxShadow: '0 24px 48px -8px rgba(0, 0, 0, .5)' }}>
|
||||
<div className="flex ph3 pv2 bb b--black-20 items-center bg-black-05">
|
||||
<div className="br-100 mr1 w1 h1 bg-red" />
|
||||
<div className="br-100 mr1 w1 h1 bg-gold" />
|
||||
|
@@ -5,6 +5,7 @@ const Frame = ({ children }) => {
|
||||
<div
|
||||
className="ba b--black-30 br2"
|
||||
style={{
|
||||
boxShadow: 'rgba(0, 0, 0, 0.2) 0px 16px 24px -4px, rgba(0, 0, 0, 0.05) 0px 8px 8px -4px',
|
||||
height: '100px',
|
||||
width: '100px',
|
||||
}}
|
||||
|
Reference in New Issue
Block a user