hypejunction/ui_grid 问题修复 & 功能扩展

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

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

hypejunction/ui_grid

最新稳定版本:7.0.1

Composer 安装命令:

composer require hypejunction/ui_grid

包简介

Responsive CSS grid system for Elgg

README 文档

README

Elgg 7.x

Features

  • Mobile-first responsive grid system
  • Built with Compass and Susy

Spans Columns Gallery

Usage

Grid

To create a 6-column span, simply add elgg-small-6 class to your element. To make it responsive, i.e. 12 columns on small devices, and 6 columns on larger devices, use elgg-small-12 elgg-medium-6.

By default, spans are not floated. Wrap your elements in elgg-row, to float them.

<div class="elgg-row">
    <div class="elgg-small-12 elgg-medium-6">Column 1</div>
	<div class="elgg-small-12 elgg-medium-6">Column 2</div>
</div>

To add horizontal and vertical gutters, either use padding in nested elements, or add elgg-column class.

<div class="elgg-row">
    <div class="elgg-column elgg-small-12 elgg-medium-8">Column 1</div>
	<div class="elgg-column elgg-small-12 elgg-medium-4">Column 2</div>
</div>

Block Grid / Gallery

User Gallery

You can apply elgg-gallery-$screen-$columns classes to any list. For example, create a responsive user gallery, that has 6 columns on mobile devices, 8 columns on medium devices, and 12 columns on large devices, use:

echo elgg_list_entities(array(
	'types' => 'user',
	'list_type' => 'gallery',
	'gallery_class' => 'elgg-gallery-small-6 elgg-gallery-medium-8 elgg-gallery-large-12',
	'limit' => 48,
));

Compatibility

Plugin version Elgg version
current 7.x

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2015-12-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固