Skip to content

Instantly share code, notes, and snippets.

@burkeholland
Last active January 14, 2025 18:40
Show Gist options
  • Save burkeholland/0cc2564927fcc1ebb04d23da001d5abf to your computer and use it in GitHub Desktop.
Save burkeholland/0cc2564927fcc1ebb04d23da001d5abf to your computer and use it in GitHub Desktop.
Extracting CSS Vars
const TestComponent = () => {
return (
<div
style={{
outline: '8px solid rgba(255,255,255,0.15)',
border: '1.5px solid rgba(255,255,255,0.2)',
boxShadow: '0 10px 10px 10px rgba(0,0,0,0.233), -40px 50px 50px 0 rgba(0,0,0,0.34)',
transform: 'rotateX(10deg) rotateY(-23deg) rotateZ(5deg)'
}}>
</div>
);
}
export default TestComponent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment