Esta página ainda não foi traduzida para o português, por isso aparece em inglês.

Figma CSS to Webflow Style Converter

Turn Figma’s “Copy as CSS” output into tidy values you can type straight into Webflow’s Style panel — absolute positioning and noise removed, units converted.

Atualizado em
Clean CSS

Values for the Webflow Style panel

Seus dados nunca saem do seu computador. Todo o processamento acontece localmente no navegador.

devpack.app é uma ferramenta independente e não é afiliada, patrocinada ou endossada pela Webflow, Inc. ou pela Figma, Inc. Webflow e Figma são marcas de seus respectivos donos.

Como usar: Figma CSS to Webflow

  1. In Figma, select a layer and open Dev Mode → Code → CSS (or right-click → Copy as → Copy as code → CSS). Copy several layers at once if you like.
  2. Paste the CSS here. Each /* Layer name */ comment becomes its own block.
  3. Choose whether to convert px to rem and whether to keep fixed sizes (usually you don’t want them).
  4. Copy individual values from the Style panel table, or the clean CSS for custom code.

Why Figma’s CSS needs cleaning before Webflow

Figma generates CSS that describes the layer exactly as drawn on the canvas — including position: absolute with left/top coordinates, fixed pixel widths and heights, and auto-layout leftovers such as flex: none; order: 0; flex-grow: 0;. Copying those into Webflow produces rigid layouts that break on smaller screens. What you actually need from a design hand-off are the design decisions: type sizes, weights, line heights, colors, spacing, radii and shadows.

What gets converted

Figma outputBecomesWhy
font-size: 32px2remrem respects users’ browser font size and scales consistently.
line-height: 120% or 38.4px1.2Unitless line-height scales with the font size everywhere it’s inherited.
letter-spacing: -0.64px-0.02emem tracking stays proportional when the font size changes (fluid type).
var(--Text-Primary, #141827)#141827 + variable listShows which Figma variables to recreate in Webflow’s Variables panel.
position: absolute; left; top, flex: noneremovedCanvas positioning, not layout intent.

Mapping to Webflow’s Style panel

Values are grouped by the Style panel section where you enter them — Layout (display, direction, gap, alignment), Spacing (padding, margin), Size, Typography, Backgrounds, Borders and Effects (shadows, opacity). In Webflow you can type units directly into fields, so 2rem or 1.2 work as-is.

Going further

For spacing and type that adapts between mobile and desktop, convert pairs of Figma values into fluid clamp() with the Clamp Calculator. For single conversions use PX to REM, and for icons use SVG to Webflow.

Também pesquisado como: figma to webflow, figma dev mode css, webflow style panel, px to rem, line height, letter spacing, design handoff.

Ferramentas que combinam com: Figma CSS to Webflow

  • Color Converter — Paste any CSS color — HEX, rgb(), hsl(), hwb(), oklch() or a name like tomato — and get every other format instantly, plus a ready-to-use 50–950 palette.
  • Box Shadow Generator — Stack multiple shadow layers, tweak offsets, blur, spread and opacity on a live card, then copy the box-shadow or text-shadow CSS.
  • WordPress to Webflow Redirects — Moving a site from WordPress to Webflow changes almost every URL: dated blog paths, /category/ archives, trailing slashes and page slugs.
  • HTML & CSS to Webflow — Paste HTML and its CSS, click Copy to Webflow and paste into the Designer — you get real Div Blocks, Headings, Links, Images and Lists with classes, combo classes, tablet/mobile breakpoints and hover states instead of one big Code Embed.

Perguntas frequentes

Where do I find CSS in Figma?
Select a layer and switch to Dev Mode (Shift+D) — the Code section shows CSS. Without Dev Mode you can right-click a layer and choose Copy as → Copy as code → CSS.
Why are width and height removed?
Fixed sizes from the canvas usually make Webflow layouts rigid. Let content, padding and max-width define size instead. Tick “Keep fixed width/height” if you really need them.
Can I paste several layers at once?
Yes. Each /* Layer name */ comment starts a new block, and each block gets its own Style panel table.
Does Webflow accept rem and unitless line-height?
Yes. You can type rem, em, %, vw and unitless values into Webflow’s Style panel fields, and line-height accepts a plain number.
Posso instalar o Figma CSS to Webflow como um aplicativo da web e usá-lo offline?
Sim. O Figma CSS to Webflow é um aplicativo da web instalável (PWA) — instalado a partir do seu navegador, não baixado de uma loja de aplicativos. Clique em “Instalar aplicativo” na parte superior desta página no Chrome ou no Edge (Windows, macOS, Linux, ChromeOS) ou, no Android, use “Compartilhar” → “Adicionar à tela inicial” no iPhone e no iPad, ou “Arquivo” → “Adicionar ao Dock” no Safari 17+ em um Mac. Em seguida, ela se abre em uma janela própria com seu próprio ícone e, como é executada inteiramente no seu navegador, continua funcionando offline. O Firefox no desktop não permite a instalação de aplicativos da web. Como funciona a instalação.

Ferramentas relacionadas