netlogix/breakpointconditionalcontent 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

netlogix/breakpointconditionalcontent

最新稳定版本:2.1.0

Composer 安装命令:

composer require netlogix/breakpointconditionalcontent

包简介

Adds a content wrapper element that allows selectable, breakpoint identifying classes intended to be styled as needed.

README 文档

README

This package adds a simple node type that receives a subset of one or multiple editor-selectable classes with the intention to control the display of content dependent on device breakpoints.

Intended use case and styling

The content element created by this package is intended to be used as a container to wrap the content which needs to be displayed conditionally. This container then receives classes (see below) that require to be styled as needed, for example by setting the base class to 'display: none;' and then using media-queries to re-enable the display for a given breakpoint.

Base class

The wrapper receives a base class of 'breakpoint-conditional-content' irrespective of selected breakpoints.

Available breakpoints

  • xs:
    • intended for Mobile / Extra small
    • assigned class: 'breakpoint-xs'
  • sm:
    • intended for Mobile / Small
    • assigned class: 'breakpoint-xs'
  • md:
    • intended for Tablet / Medium
    • assigned class: 'breakpoint-md'
  • lg:
    • intended for Desktop / Large
    • assigned class: 'breakpoint-lg'
  • xl:
    • intended for Desktop / Extra large
    • assigned class: 'breakpoint-xl'

统计信息

  • 总下载量: 10.14k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-08-20