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.
Здравствуйте, подскажите какой тег использовать для увеличения значения, пример на картинке.
Вроде, про такой тег я слышала. Если есть тег прогресс бар, значит и такое должно быть.
Question
viktor6
Всем привет
Помогите отредактировать html файл. Я пытаюсь добавить еще один блок
Но этот блок не хочет становиться в одну строку.
<html>
<head>
<title>Temperatures</title>
<link rel="stylesheet" type="text/css" href="./css/style.css" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
<div class="content">
<div class="thermometers">
<div class="label">Температура</div><div class="label">Температура</div><div class="label">Температура</div>
<div class="de">
<div class="den">
<div class="dene">
<div class="denem">
<div class="deneme">
20<span>.2</span><strong>°</strong>
</div>
</div>
</div>
</div>
</div>
<div class="de">
<div class="den">
<div class="dene">
<div class="denem">
<div class="deneme">
19<span>.0</span><strong>°</strong>
</div>
</div>
</div>
</div>
</div>
<div class="de">
<div class="den">
<div class="dene">
<div class="denem">
<div class="deneme">
19<span>.0</span><strong>°</strong>
</div>
</div>
</div>
</div>
</div>
<div class="details">Gem laatste 24u<br />21°</div><div class="details">Gem laatste 24u<br />19°</div><div class="details">Gem laatste 24u<br />19°</div>
<div class="last-update">20-09-2017 10:30:02</div>
</div>
<div id="chartdiv" style="width:100%; height:250px;"></div>
</div>
</body>
</html>
style.css
@import url(http://fonts.googleapis.com/css?family=Dosis:200,400,500,600);
* {
margin: 0;
padding: 0;
outline: 0;
}
body {
text-align: center;
background: #f2f2f2;
}
div.content {
position: relative;
margin: 0 auto;
text-align: left;
width: 1000px;
}
div.thermometers {
margin: 20px auto;
width: 560px;
}
div.thermometers .label {
position: relative;
float: left;
width: 280px;
text-align: center;
font-size: 24px;
font-family: 'Dosis';
font-weight: bold;
}
div.thermometers .details {
position: relative;
float: left;
width: 280px;
text-align: center;
font-size: 16px;
font-family: 'Dosis';
font-weight: bold;
}
div.thermometers .last-update {
margin: 10px auto;
text-align: center;
width: 560px;
font-size: 12px;
font-family: 'Dosis';
font-weight: bold;
}
.de .den, .de .dene, .de .denem, .de .deneme { position: absolute; left: 50%; top: 50%; }
.de {
position: relative;
float: left;
margin: 20px;
width: 240px;
height: 240px;
border-radius: 100%;
box-shadow: 0 0 10px rgba(0, 0, 0, .1);
background-color: transparent;
}
.den {
position: relative;
width: 210px;
height: 210px;
margin: -105px 0 0 -105px;
border-radius: 100%;
box-shadow: inset 0 2px 10px rgba(0, 0, 0, .5), 0 2px 20px rgba(255, 255, 255, 1);
background: #df3341;
background: -moz-linear-gradient(left, #df3341 0%, #d4f355 50%, #61c0ec 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#df3341), color-stop(50%,#d4f355), color-stop(100%,#61c0ec));
background: -webkit-linear-gradient(left, #df3341 0%,#d4f355 50%,#61c0ec 100%);
background: linear-gradient(to right, #df3341 0%,#d4f355 50%,#61c0ec 100%);
position:relative;
}
.dene {
width: 180px;
height: 180px;
margin: -90px 0 0 -90px;
border-radius: 100%;
box-shadow: inset 0 2px 2px rgba(255, 255, 255, .4), 0 3px 13px rgba(0, 0, 0, .85);
background: #f2f6f5;
background: -moz-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2f6f5), color-stop(100%, #cbd5d6));
background: -webkit-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%);
background: -o-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%);
}
.denem {
width: 160px;
height: 160px;
margin: -80px 0 0 -80px;
border-radius: 100%;
background: #cbd5d6;
background: -moz-linear-gradient(top, #cbd5d6 0%, #f2f6f5 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cbd5d6), color-stop(100%, #f2f6f5));
background: -webkit-linear-gradient(top, #cbd5d6 0%, #f2f6f5 100%);
}
.deneme {
padding: 3px 10px 0 10px;
width: 120px;
height: 137px;
display: inline-block;
margin: -70px 0 0 -70px;
color: #555;
text-shadow: 1px 1px 1px white;
font-family: 'Dosis';
font-size: 100px;
font-weight: 400;
text-align: center;
}
.deneme span { font-size: 30px; font-weight: 200; }
.deneme strong { position: absolute; right: 10px; top: 25px; font-size: 34px; }
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
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.