Webflow gives developers a visual canvas that still respects code. In this tutorial we walk through setting up a project, adding custom HTML/CSS, using the Designer, and exporting production‑ready files. Follow each step, copy the snippets, and you’ll be able to build production sites faster without sacrificing control.
For developers the Lite plan ($24/mo) allows code export, while the Pro plan ($42/mo) adds unlimited projects and site‑wide custom code. If you need CMS or e‑commerce, upgrade to the CMS ($27/mo) or Business ($212/mo) plans.
Open Project Settings → General** to configure domain, favicon, and SEO meta tags. Use the Custom Code tab for site‑wide <head> or <body> snippets.
Webflow’s visual tools map directly to CSS. To create a two‑column layout:
/* Equivalent CSS */
.container{
display:flex;
gap:1rem;
}
.column{
flex:1;
}
Every property you set generates a class. For a button:
.btn-primary{
background:#0066cc;
color:#fff;
padding:.75rem 1.5rem;
border-radius:4px;
transition:background .2s;
}
.btn-primary:hover{
background:#004999;
}
Use the Interactions panel to add scroll‑based reveals. Example: fade‑in on scroll.
// No code needed – set “Opacity” from 0 to 100% over 0.5s when element enters viewport.
Drag the Embed component onto the canvas and paste HTML.
<div id="my-widget"></div>
<script src="https://example.com/widget.js"></script>
Open Project Settings → Custom Code → Inside <head> and add analytics scripts.
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX-X"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXXX-X');
</script>
Developers can pull CMS items via the REST API. Example fetch for a collection named “Blog Posts”.
fetch('https://api.webflow.com/collections/123456/items', {
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'accept-version': '1.0.0'
}
})
.then(res => res.json())
.then(data => console.log(data));
Navigate to CMS → New Collection**. Define fields: Title (Plain Text), Body (Rich Text), Cover Image (Image), Publish Date (Date).
Place a Collection List** on a page, select the “Blog Posts” collection, then drag fields into elements.
Show a “Featured” badge only when the Boolean field “Featured” is true.
// In the Designer, set the badge’s visibility to “Only when Featured = true”.
index.html, css/, js/, and assets.Upload the ZIP to Netlify or connect the repository. Sample netlify.toml:
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
| Feature | Webflow (Pro) | WordPress (Self‑hosted) |
|---|---|---|
| Visual design | Pixel‑perfect drag‑and‑drop | Theme editors vary; often CSS edits required |
| Code export | Yes, clean HTML/CSS/JS | Theme files always accessible |
| CMS flexibility | Structured collections, limited custom fields | Unlimited custom post types via plugins |
| Performance | Hosted on fast CDN, auto‑optimised images | Depends on hosting, caching plugins needed |
| Security updates | Handled by Webflow | Manual WordPress core & plugin updates |
| Learning curve | Design‑first, modest code knowledge | Steeper for custom themes/plugins |
For developers who need rapid prototyping with production‑grade code, Webflow wins on speed and visual fidelity. WordPress remains stronger for highly customised data structures and plugin ecosystems.
Yes, basic HTML knowledge helps you edit custom code, but the visual editor handles most layout tasks.
You can export HTML, CSS, and JavaScript on any paid plan, but you lose CMS and e‑commerce features.
Webflow generates clean semantic markup, automatic sitemaps, and lets you edit meta tags, making it SEO‑ready.
Webflow offers visual design with less server maintenance, while WordPress gives deeper plugin ecosystems. See the comparison table above for details.
Use the Embed element or add custom code in Project Settings → Custom Code. You can also call APIs from the Designer using the new Webflow API.
Webflow bridges the gap between designers and developers. By following this step‑by‑step guide you can set up a project, use the Designer, add custom code, leverage the CMS, and export clean production files. Choose the plan that matches your needs, and you’ll be able to ship fast, SEO‑ready sites without sacrificing the control that developers demand.