Want to add a code block? Find out how to do that here!
The following solutions are only meant to be a starting point for your projects and the code should be customized to fit your client brand and project needs.
You may also want to checkout the Starter Blocks Library for additional samples of code.
Basic Code
Blockquote Code
See the Pen Blockquote Code by WebFX Interactive (@webfxinteractive) on CodePen.
List Styling
See the Pen List Styling by WebFX Interactive (@webfxinteractive) on CodePen.
Defining a WP Template
See the Pen Defining a Template by WebFX Interactive (@webfxinteractive) on CodePen.
Responsive Flexbox Layout
See the Pen Responsive Flexbox Layout by WebFX Interactive (@webfxinteractive) on CodePen.
Create a numbered list with CSS counter style
See the Pen Create a numbered list with counter by Mark Win Panerio (@mwpanerio-webfx) on CodePen.
Hide Scroll Bars (good for screenshotting pages at exact widths without scroll bar interference)
See the Pen Untitled by Isaac Kuhn (@Isaac-Kuhn) on CodePen.
Intermediate Code
CSS Custom Properties (AKA CSS Variables)
See the Pen CSS Custom Properties (AKA CSS Variables) by WebFX Interactive (@webfxinteractive) on CodePen.
Sticky CTA (Adjusts position on scroll)
See the Pen Sticky CTA - adjusts position on scroll by WebFX Interactive (@webfxinteractive) on CodePen.
Product Cards
See the Pen Product Cards by WebFX Interactive (@webfxinteractive) on CodePen.
Half and Half Section
See the Pen Half and Half Section by WebFX Interactive (@webfxinteractive) on CodePen.
CSS Show/Hide Text
See the Pen CSS Show/Hide Text by WebFX Interactive (@rolandoobejero) on CodePen.
Inline Link Hover Effect
See the Pen Inline Link Hover Effect by WebFX Interactive (@webfxinteractive) on CodePen.
Classic HTML Popup Modal
See the Pen Classic HTML Popup Modal by WebFX Interactive (@webfxinteractive) on CodePen.
Skew Between Sections (using JS to add a class to the previous section to fix spacing)
See the Pen Skew Between Sections by WebFX Interactive (@webfxinteractive) on CodePen.
Pulse CTA
See the Pen Untitled by WebFX Interactive (@webfxinteractive) on CodePen.
Advanced Code
Fluid Columns CSS Grid Snippet
See the Pen Fluid Columns CSS Grid Snippet by WebFX Interactive (@webfxinteractive) on CodePen.
Tabs
See the Pen Tabs by WebFX Interactive (@webfxinteractive) on CodePen.
Conversion Modules
Foley, Inc. - Conversion Module
See the Pen Conversion Module by WebFX Interactive (@webfxinteractive) on CodePen.
Reynolds Restoration - Conversion Module
See the Pen Reynolds Conversion Module by WebFX Interactive (@webfxinteractive) on CodePen.
PSI Info - Conversion Module
See the Pen PSI Info Conversion Module by WebFX Interactive (@webfxinteractive) on CodePen.
50 Floor - Conversion Module
See the Pen 50 Floor - Conversion Module by WebFX Interactive (@webfxinteractive) on CodePen.