That’s LESS, not CSS.
This syntax allows you to nest selector modifiers.
.clearfix { &:before { content: ''; } }
Will compile to:
.clearfix:before { content: ''; }
With the &
, the nested selectors compile to .clearfix:before
.
Without it, they compile to .clearfix :before
.
Related Posts:
- How to style bootstrap container in wordpress theme?
- What’s the difference between SCSS and Sass?
- Can I change Bootstrap button color?
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- Converts scss to css [closed]
- Does bootstrap have builtin padding and margin classes?
- Bootstrap Dropdown menu is not working
- What is sr-only in Bootstrap 3?
- How to set up fixed width for
? - How to change btn color in Bootstrap
- How does the data-toggle attribute work? (What’s its API?)
- Adding images to a Bootstrap Carousel with AJAX
- Bootstrap 4 images thumbnail classes
- Bootstrap Dropdown menu is not working
- Bootstrap Dropdown menu is not working
- Bootstrap 4, How do I center-align a button?
- Responsive Bootstrap Jumbotron Background Image
- Changing the width of Bootstrap popover
- Changing the width of Bootstrap popover
- TypeError: $(…).modal is not a function with bootstrap Modal
- bootstrap 3 navbar collapse button not working
- How to center content in a Bootstrap column?
- Bootstrap transparent navbar
- Bootstrap throws Uncaught Error: Bootstrap’s JavaScript requires jQuery
- how to center form using bootstrap 4
- How can I override Bootstrap CSS styles?
- Can Twitter Bootstrap alerts fade in as well as out?
- Flushing footer to bottom of the page, twitter bootstrap
- How to change the background-color of jumbrotron?
- vertical divider between two columns in bootstrap
- What are these attributes: `aria-labelledby` and `aria-hidden`
- vertical-align with Bootstrap 3
- Bootstrap change carousel height
- How to use bootstrap 4 in angular 2?
- What is the difference between Bootstrap .container and .container-fluid classes?
- how to do a line break in Bootstrap 3.3.7
- How can I make Bootstrap columns all the same height?
- How to increase height of textarea using bootstrap rows and columns
- Bootstrap Columns Not Working
- Set bootstrap modal body height by percentage
- Bootstrap 3 Glyphicons CDN
- Bootstrap align navbar items to the right
- How can I change the Bootstrap default font family using font from Google?
- using media queries with LESS
- How can I get my Twitter Bootstrap buttons to right align?
- Creating Accordion Table with Bootstrap
- In a bootstrap responsive page how to center a div
- Responsive Canvas in Bootstrap column?
- How to make Bootstrap Panel body with fixed height
- Change navbar text color Bootstrap
- Bootstrap Collapse not Collapsing
- WordPress Admin Bar Overlapping Twitter Bootstrap Navigation [closed]
- Why isn’t my theme processing SASS?
- Twitter Bootstrap Use Collapse in Custom Post Type
- What is better way to use Bootstrap inside admin panel?
- Style.css in child theme is loaded before Bootstrap
- Load custom css after bootstrap
- Using/compiling Foundation SASS on live WordPress server
- Why isn’t “background-image: url”working with Bootstrap carousel on WP?
- Make shortcode’s Bootstrap CSS override the theme’s CSS, how?
- How to add class to and childs of sidebar widget – WordPress
- Redoing home page but changes not taking effect
- How do I get row padding in a post feed?
- How do I add Bootstrap and LESS to my migrated WordPress site?
- Layout using Bootstrap not aligning correctly
- Link theme options page using ACF to styles
- Bootstrap in theme
- Side Menu Icon Expandable
- create bootstrap columns inside editor group block
- Bootstrap and Custom CSS in custom plugin are being overwritten by theme
- WordPress Multiple Navigation bars
- Port existing Bootstrap site to WordPress?
- WordPress style.css not updating, only after theme reload
- Google yolo one tab signup plugin avilable in wordpress? [closed]
- CSS – Initial HTML Margin Issue On WordPress Site
- How to remove the gap on right side of webpage (using Bootstrap with WordPress)?
- All of my custom Bootstrap styles are not working in my child theme!
- How to integrate Bootstrap Grid System in WordPress
- How to implement CSS-defined images from bootstrap site in wordpress theme
- How to create a WP theme that use BootStrap? [closed]
- underscores theme – sass folder structure vs smacss
- Modal dialog under the backdrop
- Dynamically populated scss values or how to change styles by user choice
- Is there any known plugins that would replace WordPress classes in editor with their Bootstrap 4 equivalent?
- SASS not showing in customized preloader plugin
- Stuck while adding bootstrap navwalker class
- jQuery Validation plugin and Bootstrap 4 CSS classes
- Bootstrap News: Image Modifciation
- Correct way of Enqueue self hosted fonts in sass project
- Using a full-width hero image that can be changed in the dashboard by a user
- Can’t center post thumbnail with bootstrap [closed]
- Why the slideshow is not shown in my theme?
- change the icon of a custom post type in WordPress to use twitter boostrap
- Bootstrap 4 Optimization
- Parent style messing up with Bootstrap [closed]
- How to make this splash page responsive
- How to make a page extend full screen [closed]
- Best practice for custom primary color of pages
- Custom theme – Bootstrap CSS not loading via wp_enqueue_style or otherwise
- Styling not refreshing for old visitors on WordPress