Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/04/2019 in all areas

  1. я про это говорил https://jsfiddle.net/48t9vk7j/ если вам не нравится что когда выпадающий список раскрывается, то он отталкивает все что ниже него, то тут может помочь position:absolute для списков вообще вам можно было бы сделать свой простой список, на вроде https://jsfiddle.net/negt2p6c/
    1 point
  2. посмотрите в сторону https://webformyself.com/maski-css/ может поможет, а вообще картинкой проще всего конечно
    1 point
  3. Мое извращение: Нужные размеры можно либо подобрать, либо использовать JS для автоматизации. Но, имхо, лучше с SVG разобраться, так как в моем примере не получится залить полупрозрачным фоном See the Pen pmqBMv by Alexandr (@AlexZaw) on CodePen. <div class="wrap"> <ul> <li> <div class="el">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsam, cumque? lorem lorem lorem lorem lorem lorem</div><span></span> </li> <li> <div class="el">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsam, cumque? lorem lorem lorem</div> <span></span></li> </ul> </div> *, :before, :after{ margin: 0; padding: 0; box-sizing: border-box; } .wrap{ background: url(http://placekitten.com/1000); } ul{ margin: 50px; list-style: none; display: inline-block; } li{ margin-bottom: 30px; position: relative; } .el{ position: relative; padding: 10px; } .el:before,.el:after, li:before,li:after,span:before,span:after{ content: ''; position: absolute; height: 100%; width: calc(50% - 40px); top: 0; border: 2px solid #ccc; } .el:before{ border-radius: 50px 0 0 50px; border-right: none; left: 0; } .el:after{ right: 0; border-left: none; border-radius: 0 50px 50px 0; } li:before,li:after,span:before,span:after{ width: 50px; top: calc(-100% + 2px); left: 50%; transform: translateX(calc(-100% + 2px)); border: 2px solid #ccc; border-radius: 0 0 50% 0; border-top: none; border-right: none; border-left: none; } li:after{ transform: scaleX(-1); } span{ position: absolute; height: 100%; width: 100%; top: 0; left: 0; } span:before{ top: calc(100% - 2px); transform: translateX(calc(-100% + 2px)) scaleY(-1); } span:after{ top: calc(100% - 2px); transform: scale(-1,-1); }
    1 point
This leaderboard is set to Kiev/GMT+03:00
  • Upcoming Events

    No upcoming events found
  • Сообщения форума

    • Актуальные контакты: 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