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.
Актуальные контакты:
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
Question
Andrij
Здравствуйте
Есть у меня такое
ну и стили
.pole1{ position: absolute; top: 10px; left: 10px; right: 0px; bottom: 0px; height: 105px; width: 370px; padding: 15px 15px 15px 15px; margin: 0px auto 0px auto; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; overflow: hidden; border: none; -webkit-border-radius: 35px; border-radius: 35px 0px 0px 35px; font: normal 13px/1 "Courier New", Courier, monospace; color: rgba(255,255,255,1); text-align: justify; -o-text-overflow: ellipsis; text-overflow: ellipsis; background: #029bd8; -webkit-box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; text-shadow: 1px 1px 1px rgba(0,0,0,0.2) ;}.pole_name{ position: absolute; top: 100px; left: -270px; right: 0px; bottom: 0px; height: 15px; width: 75px; padding: 5px 5px 5px 5px; margin: 0px auto 0px auto; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; overflow: hidden; border: none; -webkit-border-radius: 35px; border-radius: 0px 0px 0px 0px; font: normal 13px/1 "Courier New", Courier, monospace; color: rgba(255,255,255,1); text-align: center; -o-text-overflow: ellipsis; text-overflow: ellipsis; background: #029bd8; -webkit-box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; text-shadow: 1px 1px 1px rgba(0,0,0,0.2) ;}.pole_infox{ position: absolute; top: 15px; left: 50px; right: 0px; bottom: 0px; height: 90px; width: 200px; padding: 5px 5px 5px 5px; margin: 0px auto 0px auto; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; overflow: hidden; border: none; -webkit-border-radius: 35px; border-radius: 0px 0px 0px 0px; font: normal 13px/1 "Courier New", Courier, monospace; color: rgba(255,255,255,1); text-align: justify; -o-text-overflow: ellipsis; text-overflow: ellipsis; background: #029bd8; -webkit-box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; text-shadow: 1px 1px 1px rgba(0,0,0,0.2) ;}.pole_infoxmore{ position: absolute; top: 15px; left: 340px; right: 0px; bottom: 0px; height: 65px; width: 30px; padding: 5px 5px 5px 5px; margin: 0px auto 0px auto; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; overflow: hidden; border: none; -webkit-border-radius: 35px; border-radius: 0px 0px 0px 0px; font: normal 13px/1 "Courier New", Courier, monospace; color: rgba(255,255,255,1); text-align: justify; -o-text-overflow: ellipsis; text-overflow: ellipsis; background: #029bd8; -webkit-box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; text-shadow: 1px 1px 1px rgba(0,0,0,0.2) ;}.pole_img{ position: absolute; top: 10px; left: -270px; right: 0px; bottom: 0px; height: 85px; width: 85px; padding: 0px; margin: 0px auto 0px auto; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; overflow: hidden; border: none; -webkit-border-radius: 35px; border-radius: 0px 0px 0px 0px; font: normal 13px/1 "Courier New", Courier, monospace; color: rgba(255,255,255,1); text-align: justify; -o-text-overflow: ellipsis; text-overflow: ellipsis; background: #029bd8; -webkit-box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; box-shadow: 0 0 10px 4px rgba(0,0,0,0.3) ; text-shadow: 1px 1px 1px rgba(0,0,0,0.2) ;}У меня есть один большой див в нем 4 дива и в одном есть дивы где надо сделать всплывающую подсказку
сделал я такой вариант
div.info:before { content:attr(data-description); box-sizing:border-box; display:block; background:rgba(0,0,0,.7); color:white; padding:20px; position:absolute; left:50%; top:-30px; ; width:200px; height:65px; line-height:25px; border-radius:5px; opacity:0; transition:.25s ease-in-out;}div.info:after { content:''; display:block; position:absolute; top:35px; left:50%; ; height:0; width:0; border-left:8px solid transparent; border-right:8px solid transparent; border-top:8px solid rgba(0,0,0,.7); transition:.25s ease-in-out; opacity:0;}div.info:hover:before { opacity:1; top:-50px;}div.info:hover:after { opacity:1; top:15px;}Но подсказку обрезает граница дива
Пробовал сделать z-index но оно тоже не работает
Подскажите как решить проблему?
Link to comment
Share on other sites
1 answer 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.