Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

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.

Mis à jour le
Clean CSS

Values for the Webflow Style panel

Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

devpack.app est un outil indépendant, non affilié à Webflow, Inc. ni à Figma, Inc., et n’est ni sponsorisé ni approuvé par eux. Webflow et Figma sont des marques de leurs propriétaires respectifs.

Comment utiliser : 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.

Aussi recherché comme : figma to webflow, figma dev mode css, webflow style panel, px to rem, line height, letter spacing, design handoff.

Outils complémentaires : 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.

Questions fréquentes

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.
Puis-je installer Figma CSS to Webflow en tant qu’application web et l’utiliser hors ligne ?
Oui. Figma CSS to Webflow est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

Outils similaires