- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
<!DOCTYPE html>
<html>
<head>
<!-- Standard Meta -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- Site Properities -->
<title>Home | Dr.PRB</title>
<link rel="stylesheet" type="text/css" href="../dist/components/reset.css">
<link rel="stylesheet" type="text/css" href="../dist/components/site.css">
<link rel="stylesheet" type="text/css" href="../dist/components/container.css">
<link rel="stylesheet" type="text/css" href="../dist/components/grid.css">
<link rel="stylesheet" type="text/css" href="../dist/components/header.css">
<link rel="stylesheet" type="text/css" href="../dist/components/image.css">
<link rel="stylesheet" type="text/css" href="../dist/components/menu.css">
<link rel="stylesheet" type="text/css" href="../dist/components/divider.css">
<link rel="stylesheet" type="text/css" href="../dist/components/dropdown.css">
<link rel="stylesheet" type="text/css" href="../dist/components/segment.css">
<link rel="stylesheet" type="text/css" href="../dist/components/button.css">
<link rel="stylesheet" type="text/css" href="../dist/components/list.css">
<link rel="stylesheet" type="text/css" href="../dist/components/icon.css">
<link rel="stylesheet" type="text/css" href="../dist/components/sidebar.css">
<link rel="stylesheet" type="text/css" href="../dist/components/transition.css">
<style type="text/css">
.hidden.menu {
display: none;
}
.masthead.segment {
min-height: 700px;
padding: 1em 0em;
}
.masthead .logo.item img {
margin-right: 1em;
}
.masthead .ui.menu .ui.button {
margin-left: 0.5em;
}
.masthead h1.ui.header {
margin-top: 3em;
margin-bottom: 0em;
font-size: 4em;
font-weight: normal;
}
.masthead h2 {
font-size: 1.7em;
font-weight: normal;
}
.ui.vertical.stripe {
padding: 8em 0em;
}
.ui.vertical.stripe h3 {
font-size: 2em;
}
.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
margin-top: 3em;
}
.ui.vertical.stripe .floated.image {
clear: both;
}
.ui.vertical.stripe p {
font-size: 1.33em;
}
.ui.vertical.stripe .horizontal.divider {
margin: 3em 0em;
}
.quote.stripe.segment {
padding: 0em;
}
.quote.stripe.segment .grid .column {
padding-top: 5em;
padding-bottom: 5em;
}
.footer.segment {
padding: 5em 0em;
}
.secondary.pointing.menu .toc.item {
display: none;
}
@media only screen and (max-width: 700px) {
.ui.fixed.menu {
display: none !important;
}
.secondary.pointing.menu .item,
.secondary.pointing.menu .menu {
display: none;
}
.secondary.pointing.menu .toc.item {
display: block;
}
.masthead.segment {
min-height: 350px;
}
.masthead h1.ui.header {
font-size: 2em;
margin-top: 1.5em;
}
.masthead h2 {
margin-top: 0.5em;
font-size: 1.5em;
}
}
</style>
<script src="assets/library/jquery.min.js"></script>
<script src="../dist/components/visibility.js"></script>
<script src="../dist/components/sidebar.js"></script>
<script src="../dist/components/transition.js"></script>
<script>
$(document)
.ready(function() {
// fix menu when passed
$('.masthead')
.visibility({
once: false,
onBottomPassed: function() {
$('.fixed.menu').transition('fade in');
},
onBottomPassedReverse: function() {
$('.fixed.menu').transition('fade out');
}
})
;
// create sidebar and attach to menu open
$('.ui.sidebar')
.sidebar('attach events', '.toc.item')
;
})
;
</script>
</head>
<body>
<!-- Following Menu -->
<div class="ui large top fixed hidden menu">
<div class="ui container">
<div class="header item">
<img src="assets/images/dentlogo.png" class="logo">
</div>
<a class="active item">Home</a>
<a class="item" href="services.html">Services</a>
<a class="item">FAQ</a>
<a class="item">About Me</a>
<a class="item" href="contact.html">Contact</a>
</div>
</div>
<!-- Sidebar Menu -->
<div class="ui vertical inverted sidebar menu">
<div class="header item">
<img src="assets/images/dentlogo.png" class="logo">
</div>
<a class="active item">Home</a>
<a class="item" href="services.html">Services</a>
<a class="item">FAQ</a>
<a class="item">About Me</a>
<a class="item" href="contact.html">Contact</a>
</div>
<!-- Page Contents -->
<div class="ui inverted vertical masthead center aligned segment" background="assets/images/dentistplace.jpg">
<div class="ui container">
<div class="ui large secondary inverted pointing menu">
<a class="toc item">
<i class="sidebar icon"></i>
</a>
<div class="header item">
<img src="assets/images/dentlogo.png" class="logo">
</div>
<a class="active item">Home</a>
<a class="item" href="services.html">Services</a>
<a class="item">FAQ</a>
<a class="item">About Me</a>
<a class="item" href="contact.html">Contact</a>
</div>
</div>
<div class="ui text container">
<h1 class="ui inverted header">
Imagine-a-Company
<img src="">
</h1>
<h2>Do whatever you want when you want to.</h2>
<div class="ui huge primary button">Get Started <i class="right arrow icon"></i></div>
</div>
</div>
<div class="ui vertical stripe segment" >
<div class="ui middle aligned stackable grid container">
<div class="row">
<div class="eight wide column">
<h3 class="ui header">We Provide Quality Services</h3>
<p>We assure you the highest quality of dental treatment plan with the right and best equipments in the field of dentistry. We treat our customers with satisfaction serving them great food and beverages while waiting for their appointment.</p>
<h3 class="ui header">We Value Our Patients</h3>
<p>We always listen to our patients concern, and perform the highest quality of diagnostic procedure in order to provide the best quality of treatment for their needs.</p>
</div>
<div class="six wide right floated column">
<img src="assets/images/dentistplace.jpg" class="ui large bordered rounded image">
</div>
</div>
<div class="row">
<div class="center aligned column">
<a class="ui huge button" href="services.html">Check Them Out</a>
</div>
</div>
</div>
</div>
<div class="ui vertical stripe quote segment">
<div class="ui equal width stackable internally celled grid">
<div class="center aligned row">
<div class="column">
<h3>"They keep their promise in giving the quality of service."</h3>
<p>Anonymous</p>
</div>
<div class="column">
<h3>"If not the best. One of the best!"</h3>
<p>
<img src="assets/images/avatar/tom.jpg" class="ui avatar image"> <b>Mark Acdan</b> 3rd Year Computer Science Student
</p>
</div>
</div>
</div>
</div>
<div class="ui vertical stripe segment">
<div class="ui text container">
<h3 class="ui header">Different types of Dental Fillings</h3>
<p>You are maybe know that there are only one type of dental filling and that is mostly termed as <b>'Pasta'</b>. But did you know that there are various types of dental fillings? Check it out now!</p>
<a class="ui large button">Read More</a>
<h4 class="ui horizontal header divider">
<a href="#">Trivias</a>
</h4>
<h3 class="ui header">Types of Braces</h3>
<p>Yes I know you probably heard about braces because they're quite the trend now these days. But did you know that there are different of braces that depends on the case of the patient.</p>
<a class="ui large button">Read More</a>
</div>
</div>
<div class="ui inverted vertical footer segment">
<div class="ui center aligned container">
<div class="ui stackable inverted divided grid">
<div class="three wide column">
<h4 class="ui inverted header">About</h4>
<div class="ui inverted link list">
<a href="#" class="item">Site Map</a>
<a href="#" class="item">Services</a>
<a href="#" class="item">FAQ</a>
<a href="#" class="item">Developers</a>
</div>
</div>
<div class="three wide column">
<h4 class="ui inverted header">Services</h4>
<div class="ui inverted link list">
<a href="#" class="item">Tooth Extraction</a>
<a href="#" class="item">Airway and Dental Sleep Medicine</a>
<a href="#" class="item">Craniofacial Pain</a>
<a href="#" class="item">TMJ Dysfunctional Management</a>
</div>
</div>
<div class="ten wide column">
<center>
<h4 class="ui inverted header">Dr. Pamela B. Rivera</h4>
<p>Specialized in Airway and Dental Sleep Medicine | Craniofacial Pain | TMJ Dysnfunctional Management</p>
</center>
</div>
</div>
<div class="ui inverted section divider"></div>
<img src="assets/images/dentlogo.png" class="ui centered mini image">
<div class="ui horizontal inverted small divided link list">
<a class="item" href="#">Site Map</a>
<a class="item" href="#">Contact Us</a>
<a class="item" href="#">Terms and Conditions</a>
<a class="item" href="#">Privacy Policy</a>
</div>
</div>
</div>
</div>
</body>
</html>
最佳答案
删除 background="assets/images/dentistplace.jpg"
来自 <div class="ui inverted vertical masthead center aligned segment"
添加 landing-image
到那个 div 的样式列表。 landing-image
是一个类名,你可以命名任何你想要的名字。
在您的页面样式中定义 landing-image
类(class)。你可以把它放在.masthead.segment {
之前
定义 landing-image
像这样:
.landing-image {
background-image: url('assets/images/dentistplace.jpg') !important;
background-size: cover !important;
}
关于semantic-ui - 如何更改语义 UI 背景图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33045480/
theming上有详细说明在传统的语义 UI 上,但语义 UI React 站点中缺少等效的部分。这是否意味着它不支持主题化,或者您可以使用传统语义 UI 的主题化方法吗? 我知道 React 世界中
我正在阅读一篇非常愚蠢的论文,它一直在谈论乔托如何定义“形式语义”。 Giotto has a formal semantics that specifies the meaning of mode
我是语义 UI 新手,我喜欢这个框架。他们有大量有用的文档,但更令人困惑的是。 响应式可见性如何工作? 容器有仅移动平板电脑仅小型显示器仅大型显示器...以及一些代码,我发现有仅计算机,仅设备 ?有什
我正在尝试查询通过模板变量指定的页面列表,但我无法很好地了解 Semantic Mediawiki,甚至无法确定这是否可行,更不用说一个好主意了。 我有一组具有语义属性的页面。然后我有一个模板,它有一
是否可以在 SMW 页面的两个属性(均具有允许值的列表)之间定义一对多关系? 如果是,怎么办? 最佳答案 属性包含单个值;这不是限制本身,它是一个 RDF triple essentially wit
我有一个类似于以下的文档类型: abc true abc 以下文档在语义上与前面的文档相同: true abc
是否可以创建类似于 Masonry 的级联网格布局?或 Bootstrap v4 card columns使用语义用户界面? 最佳答案 根据 this issue ,好像不直接支持,但是可以通过col
如何将 Semantic-UI 添加到 Phoenix? Semantic-UI 安装在一个文件夹中并使用 NPM 进行更新,实际的 CSS 和 Javascript 文件是使用 GULP 构建的。完
是否可以在没有触发器的情况下使用模态?我将通过状态打开和关闭它。 例如,我想在输入字段(带有文件名)上使用 onClick 以使用文件选择器打开模态,然后在输入字段中编辑所选文件的名称。所有这些都在一
这句话可以在 C11 的最终草案 N1570(5.1.2.3-8) 中找到: More stringent correspondences between abstract and actual se
我正在查看与安全相关的高级 Ruby on Rails 教程,它谈到 422 HTTP 响应是“客户端提交的请求格式正确但语义无效”。我还看到后一部分呈现为“语义错误”或“语义错误”。 在给出的示例中
什么是“值语义”,什么是“隐式指针语义”? 最佳答案 Java 对对象类型使用隐式指针语义,对基元使用值语义。 值语义意味着您直接处理值并传递拷贝。这里的重点是,当您拥有值(value)时,您可以相信
我正在按照官方文档中的示例创建一个简单的弹出窗口:https://react.semantic-ui.com/modules/popup 所以这是我当前的代码,效果很好: export default
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。 关闭 4 年前。
我正在尝试使用试剂/重新框架和语义用户界面在 Clojurescript 中实现搜索。 Semantic-ui 使用渲染器来提供建议。此渲染器默认为图像、价格、标题、描述。因为我想对地理编码提出建议,
我正在尝试在使用 Semantic-UI-React 时自定义主题,有关于如何在 Semantic-UI 中自定义主题的详细说明,例如我们可以覆盖变量以更改其样式。 但是我没有找到用Semantic-
语义 UI react Checkbox可以这样使用: import React from 'react' import { Checkbox } from 'semantic-ui-react' c
我想使用语义-ui 创建自定义主题,但他们还没有对 Aurelia 的官方支持,并且在 npm install语义-ui --save 后弹出很多不需要的错误 。我想要一个明确的答案和 aurelia
我正在尝试使用本教程使用 npm 和 gulp 安装 semantic-ui:http://www.semantic-ui.com/introduction/getting-started.html
Go 中的Value semantics 和Pointer semantics 是什么意思?在 this course ,作者在解释数组和 slice 的内部结构时多次提到上述术语,我无法完全理解。
我是一名优秀的程序员,十分优秀!