# Gallery by Visual Portfolio # * Contributors: visualportfolio, nko * Tags: gallery, photo gallery, image gallery, portfolio, video gallery * Donate link: https://www.visualportfolio.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=donate * Requires at least: 6.2 * Tested up to: 7.2 * Requires PHP: 8.3 * Stable tag: 3.10.0 * License: GPLv2 or later * License URI: Build photo galleries, image galleries, and portfolio grids with gallery blocks. Masonry, lightbox, sliders, and filters included. ## Description ## **Photo gallery and portfolio plugin for WordPress** ★★★★★
[**Visual Portfolio**](https://www.visualportfolio.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=head) is a WordPress gallery plugin built around gallery and portfolio blocks. Use it for photo galleries, image galleries, video galleries, and albums. Pick masonry, justified, tiles, grid, slider, or carousel layouts. [youtube https://youtu.be/354pybu91aQ] [See Live Demo](https://www.visualportfolio.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=head) | [Documentation](https://www.visualportfolio.com/docs/getting-started/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=head) | [GitHub](https://github.com/nk-crew/visual-portfolio) Keep it simple with a basic image gallery, or go further with nested galleries, filterable portfolio grids, post grids, and taxonomy grids. Add images, choose a layout, then tweak skins and the lightbox. You do not need to write code. ### 🏆 Visual Gallery Builder ### Build gallery and portfolio blocks without coding. Customize layouts visually with live preview in the editor. Supported layouts: Masonry, Justified, Tiles, Grid, Slider, and Carousel. You get skins and the usual gallery controls in one place. ### 🚀 Optimized to be Fast as Native ### Despite the rich functionality, the Visual Portfolio is optimized as much as possible, to be fast and lightweight. Due to the modular code structure, all scripts and styles are loaded only when they are needed for the current page that displays your gallery. So, your pages will never load unused features. Pictures are not loaded in the main thread due to lazy loading. Moreover, our plugin is compatible with third-party WebP providers and image optimization plugins. Smart adaptive image sizes fully supported in any gallery, created with Visual Portfolio plugin. ### 📱 Layouts ### Our gallery plugin shipped with popular layouts such as Masonry and Justified (Flickr). Every feature optimized and works seamlessly with all of these layouts, you just need to set up and go with no headache. See it in action: * [Masonry Gallery](https://www.visualportfolio.com/masonry-image-filters/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=layouts) * [Justified (Flickr) Gallery](https://www.visualportfolio.com/justified-tilt-effect/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=layouts) * [Tiles Gallery](https://www.visualportfolio.com/tiles-custom-color/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=layouts) * [Grid Gallery](https://www.visualportfolio.com/grid/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=layouts) * [Slider Gallery](https://www.visualportfolio.com/slider/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=layouts) (Fade, Carousel, Coverflow) ### 🎨 Prebuilt Skins ### Showcase your projects and gallery images with clean and beautiful skins. See it in action: * [Classic](https://www.visualportfolio.com/masonry/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=effects) * [Fade](https://www.visualportfolio.com/tiles-paged-pagination/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=effects) * [Emerge](https://www.visualportfolio.com/masonry-infinite-scroll/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=effects) * [Fly](https://www.visualportfolio.com/tiles-popup-gallery/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=effects) * [Caption Move](https://www.visualportfolio.com/masonry-caption-move/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=effects) ### ⚙️ Easy to Customize ### The gallery block with live preview includes a lot of design settings that are point-and-click, no coding knowledge required. If you're a bit more adventurous, the custom CSS module and PHP filters are set up to be easily used by developers. ### 📁 Portfolio Post Type ### Optional custom post type `portfolio` will ensure all your portfolios to keep in a single post type. In this way, you can distinguish your portfolios from other post types. Taxonomies are used to categorize your portfolio types, it will help you to group and sort your portfolios. Moreover, you can use these portfolios as a source for your showcase gallery using Visual Portfolio block. Customize and rename Portfolio archive templates using the gallery block and page builders: [https://www.visualportfolio.com/docs/portfolio-archive/](https://www.visualportfolio.com/docs/portfolio-archive/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=archive) In case you want to use Visual Portfolio plugin for photo gallery only you can disable custom post type registration. ### 💎 Posts Query Builder ### Fine-tune the source of your galleries. Display posts, portfolios, taxonomies, and any other post types, filter by taxonomies, author, and date ranges, include or exclude specific posts, and build post grids or taxonomy grids from the same workflow. ### 🖼️ Photo Galleries ### Create galleries from image sets right inside the gallery block: drop your images in and the gallery is ready. You can create unlimited image galleries with different styles, build album galleries with nested galleries in Pro, and combine images with video items for richer visual storytelling. ### ⚡ Powerful Lightbox ### Visual Portfolio uses only modern solutions, and lightboxes are not an exception. High performance, mobile optimization, retina-ready, and a wide range of features available in Fancybox and PhotoSwipe plugins, that you can choose for your gallery lightboxes. **Mobile Optimized**
Looks great on every device. Swipe to navigate, spread/pinch to zoom in/out supported on touch devices. **GPU Accelerated**
Hardware accelerated animations for better performance and seamless user experience. **Smart Loading**
Gallery images are responsive and loaded progressively using lazy loading on demand. **Social Sharing**
You can allow users to share photos on Facebook, X, and Pinterest with social sharing buttons. ### 📹 Video and 🎵 Audio Support ### Visual Portfolio plugin allows you to work with audios and videos within a single gallery. You can paste a supported video or audio URL and it will work automatically in the popup gallery. In Pro, you can also add dedicated video items directly to image galleries and post grids, including autoplay on open or playback on hover. The full list with supported vendors see below. Supported Video Vendors: * Youtube * Vimeo * Instagram (Reels, video posts and IGTV links) * TikTok * Twitch * Facebook Video * DailyMotion * Wistia * VideoPress * TED * Rutube * Metacafe * Coub * Self Hosted Video Supported Audio Vendors: * Spotify * SoundCloud * Mixcloud * Beatport * Self Hosted Audio ### 📈 SEO-Friendly ### Visual Portfolio plugin is built keeping SEO and performance in mind by defining proper structure and tags. Furthermore, due to optimization, it is lightweight and fast when it comes to page load. In addition our plugin add images in the sitemap for `All In One SEO`, `Rank Math`, and `Yoast SEO` plugins ### 🏳️ Multilingual & Translation Ready ### Visual Portfolio adds a new layer of compatibility for [WPML](https://wpml.org/). All blocks are compatible with it and ready for translation. [https://www.visualportfolio.com/docs/multilingual/](https://www.visualportfolio.com/docs/multilingual/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wpml) ### 🛠 Built For Developers ### Visual Portfolio gives you a wide range of filters and actions to customize every part of your gallery. Also, it allows you to overwrite templates and change it in the theme directory. Moreover, you can customize separate portfolio lists using custom CSS and CSS Variables. ### 🔥 Visual Portfolio Pro ### > The Visual Portfolio plugin is also available in a professional version which includes more features and enhanced performance! [**Learn more about Visual Portfolio Pro**](https://www.visualportfolio.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro) > > In order to maintain the free version of the plugin on an ongoing basis, and to provide quick and effective support for free, we offer a Pro version of the plugin. The Pro version allows you to: * [**Video Items in Galleries and Post Grids**](https://www.visualportfolio.com/video-gallery/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_video_gallery) Add video items directly into image galleries and post grids, with autoplay on open or play on hover. * [**Gallery Format and Albums**](https://www.visualportfolio.com/album-gallery/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_album_gallery) Display nested galleries and album-style content in image galleries, posts, and taxonomy grids. * [**Taxonomies as Gallery Source**](https://www.visualportfolio.com/taxonomies/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_taxonomies) Build galleries directly from taxonomy terms, not only from posts or images. * **Advanced Skin Settings** * **Image Filters and Blend Mode** – apply Instagram-like filters on images for Normal and Hover states * **Transformations** - control the image transformation and border radius for Normal and Hover states * **Typography** – control every text part of gallery captions and overlays * **Dimensions** – controls paddings, margins and border radius of captions and overlays * **Stylish Interaction Effects** * [Hover Tilt Effect](https://www.visualportfolio.com/justified-tilt-effect/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_effects) * [Custom Hover Image](https://www.visualportfolio.com/custom-hover-image-animated-gif/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_effects) - useful for animated GIFs * [Caption Move Skin](https://www.visualportfolio.com/masonry-caption-move/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_effects) * **Social Feeds** Automatically fetch posts from your social networks to display in gallery on your site. * [Instagram](https://www.visualportfolio.com/social-instagram/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * [Youtube](https://www.visualportfolio.com/social-youtube/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * [Vimeo](https://www.visualportfolio.com/social-vimeo/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * [Unsplash](https://www.visualportfolio.com/social-unsplash/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * [X](https://www.visualportfolio.com/social-x/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * [Flickr](https://www.visualportfolio.com/social-flickr/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * [Dribbble](https://www.visualportfolio.com/social-dribbble/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * [Twitch](https://www.visualportfolio.com/social-twitch/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * [RSS](https://www.visualportfolio.com/social-medium-rss/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_social_feeds) * VK (Vkontakte) * [**Theft Protection**](https://www.visualportfolio.com/theft-protection/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_protection) * **Watermarks** - add your logo or text on top of your images, once or tiled across them, to make them harder to steal * **Password Form** - add a password to gallery blocks and send it to your clients * **Age Gate** - Protect visitors from viewing adult content * [**Photos Proofing**](https://www.visualportfolio.com/docs/proofing/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_proofing) Communicate with your clients in a modern way: 1. **Create Proofing Gallery** - Easily create a gallery with photos, as you did before. Change styling, layout, etc. if you want. 2. **Send to Clients** - Share one gallery with one client or a hundred. Each client gets a personal link, their own selection and private notes on photos. 3. **Get Approval** - Once a client sends their selection, you will be able to compare the picks of all clients and copy filenames for Lightroom or Capture One. * **Advanced Click Actions** Manually configure how to open specific item types and filter clicking on title or on image. * **Responsive Breakpoints Settings** Manually control the screen sizes, which used by the automatic responsive function to adapt your gallery layouts. * **AJAX Improvements** Requests properly cached and links preloaded before you click. * **Advanced Query Settings** Filter by Author, Date Range, Ignore Sticky Posts, exclude posts without Featured Image, and much more... * **Albums, Gallery Format, and Taxonomy Grids** Build nested gallery structures, output gallery format content, and create visual taxonomy grids from the same workflow. See the [Taxonomies demo](https://www.visualportfolio.com/taxonomies/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro_taxonomies). * **Quick View for Posts and Pages** Display posts and pages in popup iframe, not only image and video galleries. It's like works preview in Dribbble and Behance, but on your own site. * **Popup Gallery Deep Linking** Makes URL automatically change when you open popup and you can easily link to a specific popup image. * **White Label** Possibility to use your brand name and logo instead of our "Visual Portfolio". [**Find much more portfolio and gallery features of Visual Portfolio Pro today!**](https://www.visualportfolio.com/pricing/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=pro) ### 🌟 More Features ### * **Lightboxes for Standard WordPress Images** Image lightbox available for Visual Portfolio galleries as well as for standard WordPress images and galleries in your content. * **AJAX Loading and Pagination** Every dynamic part of the Visual Portfolio plugin is using AJAX to update the gallery content in live mode. Organized galleries and portfolio lists will make your website look more professional, easy to navigate and result in a better user experience. We prepared 3 types of paginations for you: * Infinite Scroll * Load More button * Paged pagination * **Filter** Filter your gallery and portfolio by taxonomies (mostly categories and tags). Let users select a category and see the relevant items. * **Sort gallery items by date and title** Users may sort gallery items by date and title. * **GIFs Support** Our plugin automatically displays the animated GIFs in photo galleries. Also, you can show the animated GIFs on mouseover with the Pro plugin. * **Items Gutters** Manually adjust the spacing between gallery images and projects. * **Images Lazy Loading** Images lazy loading boost your page loading speed. You don't need to worry about it, just use your beautiful images in the gallery, Visual Portfolio will do all the work for you. * **Images Aspect Ratio** All built-in gallery layouts support custom image aspect ratio. You don't need to crop the image manually. * **Images Focal Point** Sometimes it is very important to specify the focal point so that the custom aspect ratio does not cut off important parts of the photos. For example, people's faces on the portrait photos. * **Custom Links for Gallery Images** By default, gallery images will contain the links to original images. You can manually set the custom links, for example, to a website or Youtube video. * **RTL Support** Visual Portfolio natively supports RTL languages, proper styles loaded automatically, without user interaction. * **Elementor and WPBakery Page Builder support** There is a helpful widget for Elementor and shortcode for WPBakery Page Builder, which will let you select one of the available Saved Layouts and output it. * **Responsive and Mobile Ready** Visual Portfolio and Galleries are completely responsive and mobile ready – layouts automagically transforms to display perfectly on your screen size. * **Custom CSS** Deeply customize the look of your gallery using custom CSS and CSS Variables. * **... And Much More** All available features you can find on the [plugin's site](https://www.visualportfolio.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=more_features) and [documentation](https://www.visualportfolio.com/docs/getting-started/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=docs). ## Screenshots ## 1. Gallery Blocks 2. Gallery Block Settings 3. Projects Admin ## Installation ## ### Automatic installation ### Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Visual Portfolio, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New. In the search field type “Visual Portfolio” and click Search Plugins. Once you’ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”. ### Manual installation ### The manual installation method involves downloading our Visual Portfolio plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains [instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation). ## Frequently Asked Questions ## ### Does Visual Portfolio has documentation? #### Yes, our plugin has documentation to easily get started with galleries. Read it here - [Visual Portfolio Documentation](https://www.visualportfolio.com/docs/getting-started/?utm_source=wordpress.org&utm_medium=faq&utm_campaign=docs) ### What themes does Visual Portfolio support? #### Visual Portfolio has been tested with many WordPress themes and supports all major WordPress themes. Since we follow WordPress’ plugin development guidelines, you can rest assured that Visual Portfolio galleries will work perfectly, no matter what theme you use. If you’ve installed Visual Portfolio and are facing issues, it might not be because of a theme incompatibility. Please get in touch with the support team by opening a support ticket in our support forum, and we will fix it for you. ### Do I have to remove other Gallery and Portfolio plugins if I install Visual Portfolio? #### That is recommended. Visual Portfolio is designed to be an all in one Gallery and Portfolio plugin. If you use other Gallery plugins with Visual Portfolio on your website, not only will the performance of your website be negatively affected, but both plugins working together can produce unexpected conflicts or errors. ### Are the galleries mobile friendly? #### Yes, Visual Portfolio built with mobile optimization in mind. It will automatically fit your screen size, so you don't need to worry about. Furthermore, we prepared lazy loading, which significantly increases page loading speed. Before making a decision, just check by yourself how [Visual Portfolio works on mobile devices](https://www.visualportfolio.com/masonry/?utm_source=wordpress.org&utm_medium=faq&utm_campaign=docs). ### Can I upload multiple images at once? #### Yes, you can batch upload entire photo galleries at one time thanks to WordPress media library functionality. ### Is there pagination for photo galleries? #### Yes, you can use 3 type of pagination when displaying photo galleries or posts. Choose the number of photos to display and select Paged, Load More or Infinite Loading pagination. Examples with all gallery pagination types are [available on the Visual Portfolio website](https://www.visualportfolio.com/?utm_source=wordpress.org&utm_medium=faq&utm_campaign=docs). ### Can I filter images and projects by categories? #### Yes, our plugin has built in support for AJAX Filter by items categories. See a couple of examples: * [Category filtering with links](https://www.visualportfolio.com/grid/?utm_source=wordpress.org&utm_medium=faq&utm_campaign=docs) * [Category filtering + Sort with Select](https://www.visualportfolio.com/filterable-and-sortable/?utm_source=wordpress.org&utm_medium=faq&utm_campaign=docs) ### Can I add an external links to galleries? #### Yes, you can add external links to your gallery items. ### Is Visual Portfolio developers friendly? #### Yes, we prepared a lot of filters and actions for developers, so you can easily extend default functionality for your need. [Read here more info for developers](https://www.visualportfolio.com/docs/developers/?utm_source=wordpress.org&utm_medium=faq&utm_campaign=docs). ### Is Visual Portfolio translation ready? #### Yes, Visual Portfolio has full translation and localization support via the `visual-portfolio` textdomain. To submit a translation, see ### More Information #### For more information, feel free to visit [Visual Portfolio official website](https://www.visualportfolio.com/?utm_source=wordpress.org&utm_medium=faq&utm_campaign=docs). ## Changelog ## = 3.10.0 - Nov 9, 2026 = * improved the experimental Gallery Loop blocks: * changed the start of a new gallery: add its images first, by upload, Media Library or a drop, then pick a layout from previews drawn with those images. Posts, Taxonomies and Social sit in an "Other sources" menu * changed a new image gallery to show all its images on one page and open a picture larger * changed "Change layout" in the toolbar to show on every loop with blocks. Picking a layout replaces the blocks, and undo works * fixed a picked layout being locked behind "Edit pattern" * fixed Item Cover leaving a gap on tall tiles * fixed Query Total and the Carousel Indicator counter showing sample numbers in the editor * fixed layout previews showing the No Results text, and nearly empty thumbnails in the inserter * fixed Carousel Thumbnails ignoring a centered row on the page * fixed an empty carousel showing its controls on the page * fixed Infinite Scroll reloading without end and never adding a page, and a Load More beside it adding items already shown * changed the General, Images and Popup & Lightbox settings to WordPress controls, with rarely changed settings in collapsed groups * fixed Load More doing nothing after one failed request until the page was reloaded * fixed the Fade, Fly and Emerge item styles taking two taps to open an item on iPhone and iPad * fixed a custom portfolio base replaced with the site's post name structure, which returned 404 on ordinary pages. The first request after the update corrects a saved base * **Pro:** * added a separate selection for each client to Photo Proofing: * one gallery gives every client a personal link, their own selection, private notes on photos and a status * new galleries start in this mode, and existing galleries keep one shared selection * clients register with a name on the shared link, or you add them and send invitations * a review window shows clients by status, one client's picks, notes and history, and the votes of all who sent * comments are hidden on these galleries, and notes replace them * added filename copying for Lightroom, Capture One or one per line, and a CSV download, to Photo Proofing * added an email for each submission or a daily digest, a copy for the client, and reminders that are each sent once, to Photo Proofing * added an expiry date to proofing galleries * changed the default of Copy Filenames on shared proofing galleries to the Lightroom format * changed a new proofing gallery to ask for photos first, and for the selection mode before publishing * removed the Activity tab from proofing galleries. Each client shows the moments that matter in one line * fixed Copy Filenames copying only part of a selection when clicked before every photo had loaded * fixed saving a proofing gallery from an editor opened earlier bringing back the client's previous selection and status * improved Watermarks: * added the Text source, for a watermark made of your own text in the color you pick * added the Tiled layout, which repeats the watermark over the whole image with an angle and gaps * added a preview on photos from your Media Library that follows every change before you save * added the progress of watermark generation to Settings, with Pause and Resume, and the status of each image to the Media Library and the gallery editor * fixed watermarks not being generated in the background, including on hosts that block requests a site makes to itself * fixed galleries showing incomplete watermarked copies while images were regenerated or after a failed run * fixed the Opacity setting being ignored for a JPEG logo * fixed watermarked copies saved in the wrong format on sites where WordPress converts image sizes to WebP * fixed Remove Watermark in the Media Library reporting success while the copies stayed, and the Media Library buttons staying stuck after an error * added the sync status of each social feed, with its item count and last sync, to the gallery editor and to the account cards in Settings * changed the White Label, Updates and Social Feeds settings to WordPress controls, matching the free settings * fixed Sync Now reporting success when a feed failed * fixed social feeds syncing every 4 hours instead of every 2 * fixed Reconnect on Instagram filling a different account, and added Reconnect to Unsplash and Dribbble * fixed classic Social galleries showing no items in the block editor * fixed a deep link to a lightbox slide on a later page of a classic gallery opening the first slide or nothing * fixed pagination refusing every later page after one page failed to preload, and a login or error page loading in place of gallery items * fixed the Pause every setting of Infinite Scroll in the Gallery Loop counting pages loaded by a Load More beside it * fixed the license link on the Updates page and other Pro settings links on sites with the Portfolio post type turned off * fixed tilt, image effects and other Pro hover effects taking two taps to open an item on iPhone and iPad = 3.9.0 - Oct 24, 2026 = * added WordPress 7.2 compatibility * raised the minimum PHP requirement to 8.3 * improved the experimental Gallery Loop blocks: * added Carousel Navigation, Previous, Next, Indicator, Autoplay and Thumbnails blocks, placed anywhere inside the loop * added Query Total and End of List blocks, and a Gallery Search block whose search comes with Pro * added the Fade carousel effect, and carousel effects in browsers without scroll-driven animations * added a pattern editor for the Tiles layout, with the old patterns kept as presets * added Sticky posts, Authors, Formats and excluded terms to the Posts source * added images by URL from outside the Media Library, and Crop and Replace in the image toolbar, to the Media source * added the filter as a dropdown, the sort as links, row gaps, grid alignment, and tablet and phone column counts * added the lightbox chosen in Settings, with its caption sources * added transforms from the Gallery, Latest Posts and Query Loop blocks * changed the blocks to print nothing below WordPress 7.1 * security fix: a custom query saved by a contributor could show other authors' drafts * improved block editor loading: the Custom CSS code editor loads only when it is opened, so the editor starts with about half the JavaScript * changed the image picking buttons and the chosen image card to the WordPress 7.2 featured image style * security fix: logged-in users without the needed role could search draft and private post titles, open the gallery preview, or run admin-only plugin requests * security fix: custom CSS could close the tag it is printed in * fixed custom CSS losing `&` nesting, `>` selectors, rules wrapped in `