search
HomeWeb Front-endHTML TutorialUse Bootstrap 3 to develop responsive website practice 06, use ListGroup and Thumbnails to display content_html/css_WEB-ITnose

When you want to display the same type of content in lists and blocks, ListGroup is a good choice.

<div class="col-sm-6">                <h3 id="马云为恒大生死战开出男人奖-nbsp">马云为恒大生死战开出男人奖 </h3>                <p>                    8月27日晚,广州恒大将迎来亚冠联赛生死战,主场迎战西悉尼流浪者队,由于一周之前已经在客场0-1负于对手,本场比赛恒大队必须置死地而后生在主场净胜对手两球。就在今天中午,前不久入主恒大的阿里巴巴老板马云来到球队,在鼓励球员的同时开出了2000万的男人奖。马云表示:无论输赢都会发放这笔奖金,只希望球员们像男人一样去战斗。                </p>                <h4 id="这里是ListGroup">这里是ListGroup</h4>                                <div class="list-group">                    <a href="#" class="list-group-item">                        <h4 id="无论输赢重奖-万">无论输赢重奖2000万</h4>                        <p class="list-group-item-text">                            就在今天中午,前不久入主恒大的阿里巴巴老板马云来到球队,在鼓励球员的同时开出了2000万的男人奖。                        </p>                    </a>                    <a href="#" class="list-group-item">                        <h4 id="许家印已经向马云发出了观看比赛的邀请">许家印已经向马云发出了观看比赛的邀请</h4>                        <p class="list-group-item-text">                            不过,最终马云将用自己的实际行动给出了回答:这就是在27日晚上前往天河体育场观战,与恒大队一起战斗。                        </p>                    </a>                    <a href="#" class="list-group-item">                        <h4 id="马云先是前往恒大足校进行了参观">马云先是前往恒大足校进行了参观</h4>                        <p class="list-group-item-text">                            27日上午,马云先是前往恒大足校进行了参观。随后来到了恒大基地,与即将在晚上比赛的球员进行了见面。                        </p>                    </a>                </div>                                <h5 id="主场迎战西悉尼流浪者队">主场迎战西悉尼流浪者队</h5>                <p>                    27日上午,马云先是前往恒大足校进行了参观。随后来到了恒大基地,与即将在晚上比赛的球员进行了见面。马云的话语很简短:我知道这场比赛对所有人都非常重要,我希望你们像男人一样去战斗。所以,这场比赛我们将设立一个男人奖,无论输赢,都会奖励2000万。这也是马云入主恒大以来,第一次与全队进行见面,在生死战来临之时,马云并没有给球队提出成绩压力,只是用“像男人一样去战斗”的这样方式来激励球队,显然对恒大队是一个极大的鼓舞。(于静 发自广州)                </p>            </div><!--右半边结束-->

Use Bootstrap 3 to develop responsive website practice 06, use ListGroup and Thumbnails to display content_html/css_WEB-ITnose

○ The list content has been manipulated in


○ The list items are all

At the Evergrande Western Sydney pre-war joint meeting held on the afternoon of the 26th, Evergrande was told that it needed to wear away jerseys to play at home because the opponent Western Sydney’s home and away jerseys were all red. host. However, Evergrande's wearing of home jersey was not because the opponent deliberately caused trouble, but because the AFC's review procedures were incorrect, which caused the problem.

Evergrande’s focus is on Beijing Guoan [Weibo]’s away game against Shandong Luneng [Weibo]. He took the absolute initiative in the competition for the championship. Guoan may catch up.
<div class="row" id="moreProducts">            <div class="col-md-12">                <h3 id="了解更多的恒大信息">了解更多的恒大信息</h3>                <div class="thumbnails row">                    <div class="col-md-6">                        <div class="thumbnail">                            <img  src="/static/imghwm/default1.png"  data-src="images/21.jpg"  class="lazy"      style="max-width:90%"/ alt="Use Bootstrap 3 to develop responsive website practice 06, use ListGroup and Thumbnails to display content_html/css_WEB-ITnose" >                            <div class="label label-success price"><span class="glyphicon glyphicon-tag"><sup>¥</sup>88</span></div>                            <div class="caption">                                <h3 id="恒大穿客场球衣">恒大穿客场球衣</h3>                                <p>


</p>                                                               <p>                                    <a href="#" class="btn btn-primary btn-small" target="_blank">恒大官网</a>                                                                         <a href="#" class="btn btn-small btn-link">了解更多</a>                                </p>                            </div>                        </div>                    </div>                                        <div class="col-md-6">                        <div class="thumbnail">                            <img  src="/static/imghwm/default1.png"  data-src="images/22.jpg"  class="lazy"      style="max-width:90%"/ alt="Use Bootstrap 3 to develop responsive website practice 06, use ListGroup and Thumbnails to display content_html/css_WEB-ITnose" >                            <div class="label label-info price"><span class="glyphicon glyphicon-tag"><sup>¥</sup>66</span></div>                            <div class="caption">                                <h3 id="中超争冠恒大暂优势明显">中超争冠恒大暂优势明显</h3>                                <p>


All thumbnails are wrapped in

is not each thumbnail, but
, occupying 2 cells
 </p>                                <p>                                    <a href="#" class="btn btn-primary btn-small" target="_blank">国安官网</a>                                                                         <a href="#" class="btn btn-small btn-link">了解更多</a>                                </p>                            </div>                        </div>                    </div>                </div>            </div>        </div>
 <!--更多产品区域结束-->
○ Each thumbnail is wrapped in
in

Use Bootstrap 3 to develop responsive website practice 06, use ListGroup and Thumbnails to display content_html/css_WEB-ITnose

and then adjust the position of the label to the upper right of the picture.

Since we have considered the CSS settings in smartphones, when the page width becomes smaller, the font of the price label will also become smaller accordingly, so that it will not be inconspicuous. coordination.

/*----------------------------------------    Thumbnail 价格标签    ------------------------------------*/.thumbnails {    margin: 20px 0;}.thumbnail {    position: relative;}.thumbnail h3 {    font-size: 16px;    margin: 0 0 10px;    line-height: 20px;}.thumbnail .price {    font-size: 22px;    position: absolute;    top: -10px;    right: -10px;    padding: 10px;}.thumbnail .price sup {    font-weight: normal;    font-size: 12px;}.thumbnail span.glyphicon {    margin-right: 5px;}/*----------------------------------------    智能手机    ------------------------------------*/@media (max-width: 480px) {    .thumbnail .price {        font-size: 14px;    }    .thumbnail .price sup {        font-size: 10px;    }}/*----------------------------------------    平板    ------------------------------------*/@media (max-width: 768px) {    #myCarousel .item{ height: 310px;}}

Use Bootstrap 3 to develop responsive website practice 06, use ListGroup and Thumbnails to display content_html/css_WEB-ITnose

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
如何在iPhone上启用“敏感内容警告”并了解其功能如何在iPhone上启用“敏感内容警告”并了解其功能Sep 22, 2023 pm 12:41 PM

特别是在过去十年中,移动设备已成为与朋友和家人分享内容的主要方式。易于访问、易于使用的界面以及实时捕获图像和视频的能力使其成为制作和共享内容的绝佳选择。但是,恶意用户很容易滥用这些工具来转发不需要的敏感内容,这些内容可能不适合查看并未经您的同意。为了防止此类情况发生,iOS17中引入了带有“敏感内容警告”的新功能。让我们来看看它以及如何在iPhone上使用它。新的“敏感内容警告”是什么,它是如何工作的?如上所述,敏感内容警告是一项新的隐私和安全功能,旨在帮助防止用户查看敏感内容,包括iPhone

Microsoft Edge浏览器打开是360导航怎么改-更改打开是360导航的方法Microsoft Edge浏览器打开是360导航怎么改-更改打开是360导航的方法Mar 04, 2024 pm 01:50 PM

怎么更改MicrosoftEdge浏览器打开是360导航的页面呢?其实很简单,那么现在小编就和大家一起分享关于更改MicrosoftEdge浏览器打开是360导航页面的方法,有需要的朋友可以来看看哦,希望可以帮助到大家。打开MicrosoftEdge浏览器。我们看到是下图这种页面。点击右上角的三点图标。点击“设置”。在设置页面的左侧栏里点击“启动时”。点击右侧栏里的图中示意的三点(不要能点击“打开新标签页”),然后点击编辑,将网址改成“0”(或其他无意义的数字)。然后点击“保存”。接下来,选择“

bootstrap中sm是什么意思bootstrap中sm是什么意思May 06, 2022 pm 06:35 PM

在bootstrap中,sm是“小”的意思,是small的缩写;sm常用于表示栅格类“.col-sm-*”,是小屏幕设备类的意思,表示显示大小大于等于768px并且小于992px的屏幕设备,类似平板设备。

Cheat Engine如何设置中文?Cheat Engine设置中文方法Cheat Engine如何设置中文?Cheat Engine设置中文方法Mar 13, 2024 pm 04:49 PM

  CheatEngine是一款游戏编辑器,能够对游戏的内存进行编辑修改。但是它的默认语言是非中文的,对于很多小伙伴来说比较不方便,那么CheatEngine怎么设置中文呢?今天小编就给大家详细介绍一下CheatEngine设置中文的方法,希望可以帮助到你。  设置方法一  1、双击打开软件,点击左上角的“edit”。  2、接着点击下方选项列表中的“settings”。  3、在打开的窗口界面中,点击左侧栏中的“languages”

Microsoft Edge在哪设置显示下载按钮-Microsoft Edge设置显示下载按钮的方法Microsoft Edge在哪设置显示下载按钮-Microsoft Edge设置显示下载按钮的方法Mar 06, 2024 am 11:49 AM

大家知道MicrosoftEdge在哪设置显示下载按钮吗?下文小编就带来了MicrosoftEdge设置显示下载按钮的方法,希望对大家能够有所帮助,一起跟着小编来学习一下吧!第一步:首先打开MicrosoftEdge浏览器,单击右上角【...】标识,如下图所示。第二步:然后在弹出菜单中,单击【设置】,如下图所示。第三步:接着单击界面左侧【外观】,如下图所示。第四步:最后单击【显示下载按钮】右侧按钮,由灰变蓝即可,如下图所示。上面就是小编为大家带来的MicrosoftEdge在哪设置显示下载按钮的

bootstrap-datepicker的用法是什么bootstrap-datepicker的用法是什么May 05, 2022 pm 05:49 PM

在bootstrap中,“bootstrap-datepicker”用于设置日历、时间样式,是一款时间选择插件,语法为“元素对象.datepicker({属性:属性值,...})”;可以通过不同的属性来设置时间显示样式。

aria在bootstrap里是啥意思aria在bootstrap里是啥意思May 06, 2022 am 11:43 AM

在bootstrap中,aria是“可访问的富互联网应用程序”的意思,是“Accessible Rich Internet Application”的缩写,用于增强网页在残障辅助阅读设备上的识别读取,可弥补html和js可访问性方面的不足。

时空中的绘旅人艾因的日常:常驻内容更新时空中的绘旅人艾因的日常:常驻内容更新Mar 01, 2024 pm 08:37 PM

时空中的绘旅人已经确定在2月29日更新之后,玩家可以和艾因一起去参加露天音乐节,获得与艾因的好感度加成,3月4日将会开启缱绻假日煦色韶光活动,玩家可以提升假日行程等级解锁全新短信和Lofter内容。时空中的绘旅人艾因的日常:常驻内容更新更新2月29日版本后,可体验全新校园日程[参加露天音乐节],跟艾因一起参与可获得好感度加成。3月4日09:30-4月15日05:00,在「缱绻假日·煦色韶光」活动期间提升[假日行程]等级到8级和28级,可分别解锁全新短信和Lofter内容。*新增短信、Lofter

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)