媒体对象--media

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge">
<meta name="viewport" content="width=device-width;initial-scale=1">
<title>Bootstrap</title>
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
<!-- <link rel="stylesheet" type="text/css" href="foo.css"> -->
<script src="jquery-1.11.3.js"></script>
<script src="bootstrap.min.js"></script>
<script src="foo.js"></script>
</head>
<body>
<div class="container">
<div class="media">
<div class="media-left media-middle">
<a href="#"><img src="64.svg"></a>
</div>
<div class="media-body">
<h4 class="media-heading">message</h4>
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you
</div>
</div>

<ul class="media-list">
<li class="media">
<div class="media-left">
<a href="#"><img src="64.svg"></a>
</div>
<div class="media-body">
<h4>hello</h4>
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you
</div>
</li>
<li class="media">
<div class="media-left">
<a href="#"><img src="64.svg"></a>
</div>
<div class="media-body">
<h4>hello</h4>
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you
<ul class="media-list">
<li class="media">
<div class="media-left">
<a href="#"><img src="64.svg"></a>
</div>
<div class="media-body">
<h4>hello</h4>
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you
</div>
</li>
<li class="media">
<div class="media-left">
<a href="#"><img src="64.svg"></a>
</div>
<div class="media-body">
<h4>hello</h4>
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you.welcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love youwelcome to you i love you.
welcome to you i love you.
welcome to you i love you.
welcome to you i love you
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</body>
</html>

时间: 2024-10-19 19:22:45

媒体对象--media的相关文章

Bootstrap历练实例:默认的媒体对象

Bootstrap 多媒体对象(Media Object) 本章我们将讲解 Bootstrap 中的多媒体对象(Media Object).这些抽象的对象样式用于创建各种类型的组件(比如:博客评论),我们可以在组件中使用图文混排,图像可以左对齐或者右对齐.媒体对象可以用更少的代码来实现媒体对象与文字的混排. 媒体对象轻量标记.易于扩展的特性是通过向简单的标记应用 class 来实现的.你可以在 HTML 标签中添加以下两种形式来设置媒体对象: .media:该 class 允许将媒体对象里的多媒

Bootstarp学习(十八)媒体对象

媒体对象 在Web页面或者说移动页面制作中,常常看到这样的效果,左边居左(或居右),内容居右(或居左)排列,如下图所示: 我们常常把这样的效果称为媒体对象.可以说他是一种抽像的样式,可以用来构建不同类型的组件.这些组件都具有开篇所说的样式风格.那么在Bootstrap框架中特意将些部分提取出来做来一个组件介绍.其对应的版本文件: ? LESS版本:对应的源文件是media.less ? Sass版本:对应的源文件是_media.scss ? 编译后版本:对应bootstrap.css文件第479

Bootstrap_媒体对象

一.基本媒体对象 媒体对象一般是成组出现,而一组媒体对象常常包括以下几个部分: ? 媒体对像的容器:常使用“media”类名表示,用来容纳媒体对象的所有内容 ? 媒体对像的对象:常使用“media-object”表示,就是媒体对象中的对象,常常是图片 ? 媒体对象的主体:常使用“media-body”表示,就是媒体对像中的主体内容,可以是任何元素,常常是图片侧边内容 ? 媒体对象的标题:常使用“media-heading”表示,就是用来描述对象的一个标题,此部分可选 除了上面四个部分之外,在Bo

Bootstrap媒体对象

前面的话 在Web页面或者说移动页面制作中,常常看到图文混排效果,图片居左(或居右),内容居右(或居左)排列.常常把这样的效果称为媒体对象.可以说它是一种抽象的样式,可以用来构建不同类型的组件.本文将详细介绍Bootstrap媒体对象 默认样式 媒体对象一般是成组出现,而一组媒体对象常常包括以下几个部分: ?  媒体对像的容器:常使用“media”类名表示,用来容纳媒体对象的所有内容 ?  媒体对像的对象:常使用“media-object”表示,就是媒体对象中的对象,常常是图片 ?  媒体对象的

bootstrap学习11-进度条媒体对象和well组件

<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <title>进度条媒体对象和well组件</title> <link href="css/bootstrap.min.css" rel="stylesheet"> </head> <body s

【转】详解Bootstrap媒体对象

在web页面中,图片居左,内容居右排列,是非常常见的效果,它也就是媒体对象,它是一种抽象的样式,可以用来构建不同类型的组件,在bootstrap框架中其对应的版本文件如下: LESS: media.less SASS: _media.scss 媒体对象一般是成组出现,一组媒体对象一般包括以下几部分: 1.媒体对象的容器:用来容纳媒体对象的所有内容,容器上需使用类名.media 2.媒体对象的对象:一般是图片,需使用类.media-object 3.媒体对象的主体:就是媒体对象的主体内容,可以是任

缩略图\警示框\进度条\媒体对象\列表组\面板 组件

欢迎收看大奥编写的Bootstrap快速学习笔记(6)缩略图\警示框\进度条\媒体对象\列表组\面板 组件 本学习笔记根据[慕课网]教程修改而来,用它学习Bootstrap,将会带来全新的体验哦: 缩略图 警示框 进度条 媒体对象 列表组 面板 详细介绍 缩略图 通过配合网格系统来实现,div.container>div.row>div.col-md-3 col-xs-6>a.thumbnail>img来实现,这样的效果就是当宽屏的时候能够一行显示4个缩略图,窄屏的时候一行显示两个

巧妙使用CSS媒体查询(Media Queries)和JavaScript判断浏览器设备类型的好方法

有无数的理由要求我们在任何时候都应该知道用户是使用的什么设备浏览我们的网站——宽屏,普通屏,平板,手机?知道这些特征,我们web应用的CSS和JavaScript才能同步做相应的操作.在给Mozilla Developer Networks改版设计的过程中,我发现使用CSS媒体查询(media queries)虽然非常的有效,但有时,JavaScript却不能及时知道用户浏览设备的状态.浏览网站的用户使用的是桌面电脑,还是平板,还是手机?这对于CSS来说很容易,但CSS却无法将这些信息告诉Jav

详解Bootstrap媒体对象

在web页面中,图片居左,内容居右排列,是非常常见的效果,它也就是媒体对象,它是一种抽象的样式,可以用来构建不同类型的组件,在bootstrap框架中其对应的版本文件如下: LESS: media.less SASS: _media.scss 媒体对象一般是成组出现,一组媒体对象一般包括以下几部分: 1.媒体对象的容器:用来容纳媒体对象的所有内容,容器上需使用类名.media 2.媒体对象的对象:一般是图片,需使用类.media-object 3.媒体对象的主体:就是媒体对象的主体内容,可以是任