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
Weskiers
Всем привет.
Решил добавить к картинкам тег <figure>, но при выводе картинка уменьшается в размерах. В чем может быть проблема?
Код CSS:
body{ margin: 0px; padding: 0px; max-width: 1000px; background: url(./bg3.jpg) repeat center top fixed; } html, body, #wrapper{ margin: 0px; padding: 0px; margin: 0 auto; } @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600&subset=latin,cyrillic); *{box-sizing: border-box;} #container{ display: table; max-width: 100%; height: 100%; margin: 0 auto; background-color: #272727; box-shadow: #000 0px 0px 40px 10px; } #header{ max-width: 100%; width: 100%; min-height: 60px; background-color: #000; } #weskiers-logo{ background: url(./weskiers.jpg); height: 60px; width: 190px; max-width: 190px; margin-left: 4%; float:left; } #top-menu{ float: left; font-family: 'Open Sans', sans-serif; font-style: oblique; list-style: none; } #top-menu li a{ transform:text-decoration(underline); transition:0.3s all; line-height: 1.4; font-family: 'Open Sans', sans-serif; font-weight: 400; } #top-menu li a:hover{ color:#4ca4cc; transition:0.3s: all; } #vk{ background: url(./vk.png); width: 36px; height: 36px; float: right; margin-right: 10px; border-radius: 7px; margin-top: 10px; } #vk { transform:scale(1); transition:0.3s all; } #vk:hover{ transform:scale(1.2); box-shadow: #4ca4cc 0px 0px 9px 3px; transition:0.3s all; cursor: pointer; } #header ul { list-style: none; /*убираем маркеры списка*/ } #top-menu li {float:left;} #top-menu li a{ color:#fff; text-decoration: none; } #top-menu li { padding-left: 40px; } #logo img{ max-width:100%; width: 100%; height: auto; border-bottom: 3px solid #5fabcd; } #wrapper{ height: auto; width: 100%; float:left; } #content { float: left; width: 75%; } #content h2{ color: #4ca4cc; font: 400 27px Georgia; font-family: 'Open Sans', sans-serif; font-style: oblique; font-weight: bold; margin-left: 40px; float: auto; border-bottom: 1px solid #4b7d7b; } #content h1{ color: #4ca4cc; font: 400 27px Georgia; font-family: 'Open Sans', sans-serif; font-style: oblique; font-weight: bold; margin-left: 40px; float: auto; border-bottom: 1px solid #4b7d7b; } p { font: 400 17.1px Verdana,Geneva,sans-serif; line-height: 180%; color: #a0a0a0; padding-left: 10px; } #content ul { font: 400 17.1px Verdana,Geneva,sans-serif; line-height: 180%; color: #a0a0a0; padding-left: 40px; } #content img { margin-left: 10px; max-width:85%; height:auto; } #content iframe { text-align: center; margin-left: 5px; box-shadow: none; width:90%; max-width: 95%; } .ssylki {color:#4cc7ce;} .ssylki:hover{ color:#59c537;} .ssylkinazad{ color:#4cc7ce; padding-left:20px; font-family: 'Open Sans', sans-serif; } .ssylkinazad:hover{ color:#59c537;} #right { float: right; width: 24%; margin-top: 17px; text-decoration: none; box-shadow: #000000 0px 0px 15px 5px; } #footer{ background-color: #000; height: 100px; width: 100%; max-width: 100%; float: left; } #footer2{ background-color: #000; height: 140px; width: 100%; max-width: 100%; } #footer2 ul { text-decoration:none; } #footer2 li a { text-decoration:none; } #footer3{ background-color: #000; text-align:center; color:#cfd0d0; font-size: 17px; font-style: oblique; border-top:2px solid #0f4d7b; padding-bottom: 10px; } #right-menu{ padding-left: 17px; text-decoration:none; } #right-menu li{ text-decoration:none; list-style: none; } #right-menu ul li { text-decoration: none; color:#999; line-height: 1.4; font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 20px; text-decoration:none; } #right-menu ul { list-style: none; /*убираем маркеры списка*/ font-size: 20px; } #right-menu li a{ text-decoration: none; font-size: 17px; line-height: 160%; color: #c4d5dc; font-family: 'Open Sans', sans-serif; } #right-menu li a{ transition:0.5s all; text-decoration: none; } #right-menu li a:hover{ color:#4ca4cc; text-decoration: underline; cursor: pointer; transition:0.5s all; } #right-menu { background: url(./rightimg.jpg) repeat center top; } #burger-menu{ display: none; visibility:hidden; width: 100%; min-width: 150px; border-bottom: 1px solid black; } #poisk{ float:right; width: 50%; } #poisk2{ } @media screen and (max-width:880px) { #right-menu{display:none; visibility: hidden;} #right{display:none; visibility: hidden;} #burger{visibility: visible; display: inline-block;} #burger-menu{visibility: visible; display: inline-block;} #content{width:98%;margin-left:7px;} } nav {background: #413F3C;} nav ul { margin: 0; padding: 0; list-style: none; text-align: center; } nav ul:after { content: ""; display: table; clear: both; } nav a { text-decoration: none; display: block; transition: 0.5s linear; } .topmenu > li { float: left; position: relative; border-left: 1px solid black; } .topmenu > li:first-child { border-left: 0; width: 100%; } .topmenu > li > a { padding: 10px 30px; font-size: 20px; text-transform: uppercase; color: #FEFDFD; letter-spacing: 2px; font-weight: bold; } .topmenu > li > a.active, .submenu a:hover {color: #31beff;} .topmenu .fa, .submenu .fa { margin-left: 5px; color: inherit; } .submenu { position: absolute; z-index: 5; min-width: 100%; background: white; border-top: 1px solid #CBCBCC; border-left: 1px solid #CBCBCC; border-right: 1px solid #CBCBCC; visibility: hidden; opacity: 0; transform-origin: 0% 0%; transform: rotateX(-90deg); transition: 0.5s linear; } .submenu li {position: relative;} .submenu li a { color: #282828; padding: 10px 20px; font-size: 17px; border-bottom: 1px solid #545454; } .submenu .submenu { position: absolute; left: 100%; top: -1px; transition: 0.5s linear; } nav li:hover > .submenu { transform: rotateX(0deg); visibility: visible; opacity: 1; text-align: left; } .submenu li:hover{ background-color: #222; transition:0.5s all;} #p_in_footer{ font-size:20px; color:#4cc7ce; } #vk_comments, #vk_comments iframe { width: 100% !important; } b.style_white{ font-size:15px; color:#DCDCDC; } #podpis { /* Абзац с классом cite2 */ color: #DCDCDC; /* Цвет текста */ font-size:15px; margin-top: 0px; /* Отступ сверху */ }
Link to comment
Share on other sites
0 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.