SVG & CSS Generator

Create beautiful SVG graphics and CSS with real-time preview

SVG Controls

Circle
Rectangle
Polygon
Star
Ellipse
Path

Preview

SVG Code
<svg width="300" height="300" viewBox="0 0 300 300">
                <circle cx="150" cy="150" r="80" fill="#6366f1" stroke="#4f46e5" stroke-width="2"/>
                </svg>
              

Box Shadow Controls

Preview

CSS Code
.box-shadow {
                box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.3);
                }
              

Text Shadow Controls

Preview

Shadow Text
CSS Code
.text-shadow {
                color: #1f2937;
                font-size: 48px;
                font-weight: 700;
                text-shadow: 2px 2px 4px rgba(99, 102, 241, 0.5);
                }
              

Gradient Controls

%
%

Preview

CSS Code
.gradient {
                background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
                }
              

CSS Filter Controls

px
%
%
%
deg
%
%
%
%

Preview

Filter Preview
CSS Code
.filtered {
                filter: none;
                }
              

Animation Controls

Fade
Slide In
Bounce
Pulse
Shake
Rotate
Scale
Flip
s
s

Preview

Animate Me
CSS Code
/* Keyframes */
                @keyframes fade {
                from { opacity: 0; }
                to { opacity: 1; }
                }

                /* Animation */
                .animated {
                animation: fade 1s ease 0s 1 normal forwards;
                }
              

Border Radius Controls

px
px

Preview

TL
TR
BR
BL
CSS Code
.rounded-box {
                border-radius: 20px;
                }
              

Flexbox Controls

px

Preview

1
2
3
4
CSS Code
.flex-container {
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: stretch;
                flex-wrap: nowrap;
                gap: 10px;
                }
              

CSS Grid Controls

px
px

Preview

1
2
3
4
5
6
CSS Code
.grid-container {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                grid-template-rows: repeat(2, 1fr);
                column-gap: 10px;
                row-gap: 10px;
                justify-items: stretch;
                align-items: stretch;
                }
              
Code copied to clipboard!