Jump to content
  • 0

проблема с border


Daniyar
 Share

Question

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Iphone</title>
	<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
	<header>
		<div class="conteiner clearfix">
			<div class="logo">
				<a href="#">Smallapps</a>
			</div>
			<div class="nav">
				<ul>
					<li>
						<a href="#">Home</a>
					</li>
					<li>
						<a href="#">Features</a>
					</li>
					<li>
						<a href="#">Screenshot</a>
					</li>
					<li>
						<a href="#">Gallery</a>
					</li>
				</ul>
			</div>
			<div class="adress">
			<p class="phone"><img src="img/phone.png"><a>800-123-456</a></p>
			<p class="email"><img src="img/email.png"><a>smallapps@gmail.com</a></p>
			</div>
		</div>
	</header>
	<section class="slider">
	<div class="conteiner clearfix">
		<h1 class="perf">Perfect app landing page</h1>
		<h2 class="duis">Duis bibendum diam</h2>
		<p>Donec elementum mollis magna id aliquet. Etiam eleifend urna eget sem</br> sagittis feugiat. Pellentesque habitant morbi tristique senectus et</br> netus et malesuada fames ac turpis egestas.</p>
		<a class="button" href="#">download</a>
	</section>
</body>
</html>
@import url('https://fonts.googleapis.com/css?family=Montserrat+Alternates');
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
body{
	font-family: 'Montserrat Alternates', sans-serif;
}
.conteiner{
	width: 1170px;
	margin:0 auto;
}
.logo{
float: left;
margin-top: 20px;
display: block;
}
.logo a{
	text-decoration: none;
	font-weight: bold;
	font-size: 36px;
	color:#3c3d42;
}
.nav ul a{
	text-decoration: none;
	font-size: 14px;
	float:left;
	color: #3c3d42;
	margin-right: 30px;
}
.nav li{
	float: right;
}
.nav{
	float: left;
	display: block;
	margin-left: 40px;
	margin-top: 35px;
}
.phone{
	display: block;
	float: right;
	font-size: 18px;
	margin-top: 34px;
}
.phone img{
	margin-right: 10px;
}
.phone a {
	color: #3c3d42;
}
.email{
	display: block;
	float: right;
	margin-right: 40px;
	margin-top: 32px;
}
.email img{
	margin-right: 10px;
}
.email a {
	color: #3c3d42;
}

.slider{
	display: block;
	background: url(img/bg.png);
	margin-top: 43px;
	padding:180px 0 ;
}
.perf{
	font-size: 36px;
	font-weight: bold;
	color: #fff;
	display: block;

}
.duis{
	font-size: 36px;
	font-weight: lighter;
	color: #fff;
	line-height: 50px;
}
.slider p{
	color: #7cacb6;
	font-size: 14px;
	line-height: 20px;
}
.button{
	display: block;
	margin:50px 0 0 60px;
	width: 240px;
	border-style: solid;
	height: 100px;
}

Не работает рамка на ссылку вообще где может быть ошибка

Edited by Daniyar
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
4 часа назад, Daniyar сказал:

Что здесь не так

Я думаю вы нам должны рассказать, что здесь не так и какого результата вы хотите добиться. А мы сообщество постарается помочь :)

И выкладывайте исходный код по возможности на http://jsfiddle.net. Потому что мало кто будет разбираться в неотформатированном коде, как у вас 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Обсуждения

    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com Портфолио https://www.behance.net/d4d4186e Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ    
    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com   Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ   Портфолио https://www.behance.net/d4d4186e
    • Доброго всем времени суток. Прошу помощи. Научите принципу изменения футера. Движок Xenforo. Версия 2.2.10. Стиль дефолтный. Что именно нужно в итоге на фото примере. Мой шаблон app.footer less имеет следующее значение.  .p-footer { .xf-publicFooter(); a { .xf-publicFooterLink(); } } .p-footer-inner { .m-pageWidth(); .m-pageInset(); padding-top: @xf-paddingMedium; padding-bottom: @xf-paddingLarge; } .p-footer-row { .m-clearFix(); margin-bottom: -@xf-paddingLarge; } .p-footer-row-main { float: left; margin-bottom: @xf-paddingLarge; } .p-footer-row-opposite { float: right; margin-bottom: @xf-paddingLarge; } .p-footer-linkList { .m-listPlain(); .m-clearFix(); > li { float: left; margin-right: .5em; &:last-child { margin-right: 0; } a { padding: 2px 4px; border-radius: @xf-borderRadiusSmall; &:hover { text-decoration: none; background-color: fade(@xf-publicFooterLink--color, 10%); } } } } .p-footer-rssLink { > span { position: relative; top: -1px; display: inline-block; width: 1.44em; height: 1.44em; line-height: 1.44em; text-align: center; font-size: .8em; background-color: #4682B4; border-radius: 2px; } .fa-rss { color: white; } } .p-footer-copyright { margin-top: @xf-elementSpacer; text-align: center; font-size: @xf-fontSizeSmallest; } .p-footer-debug { margin-top: @xf-paddingLarge; text-align: right; font-size: @xf-fontSizeSmallest; .pairs > dt { color: inherit; } } @media (max-width: @xf-responsiveMedium) { .p-footer-row-main, .p-footer-row-opposite { float: none; } .p-footer-copyright { text-align: left; padding: 0 4px; // aligns with other links } }  
    • Нужны сайты с примерами верстки, типа https://css-tricks.com/. Типовые приемы и нестандартные на все случаи жизни. Накидайте ссылок.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy