Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
vy le oai
4,697 Pointstransform: rotate() make the overflow: hidden property work?
I have one site at: http://leoaivy.github.io/projects/poster_inside_2812/html/10_P.03_Timeline.html
You can also see a small demo at: https://jsfiddle.net/leoaivy/rs3c1zeL/
The problem is: After I created the octagon mask, the popup nested inside this mask wouldn't be showed anymore. It should be that when I click the icon, the popup must be shown. You can see illustration here https://www.flickr.com/photos/135723081@N04/23408617374/in/dateposted-public/
My HTML code is here: <div class="right-group-img-octagon"> <div class="right-group-img-wrap group_small_pic drop-down-container drop-down-pop" onclick="popupNode(this, event)"> <div class="group-popup-img-in"><img src="../images/sample/yes.png" alt=""></div> <div class="group-popup-img-in"><img src="../images/sample/right-img02.png" alt=""></div> <div class="group-popup-img-in"><img src="../images/sample/right-img03.png" alt=""></div> <div class="group-popup-img-in"><img src="../images/sample/right-img04.png" alt=""></div>
<div class="friend-group-drop-content drop-down-content">
<div class="popup-top"></div>
<div class="popup-content">
<div class="right-friend-info">
<div class="right-friend-info-img">
<div class="group-popup-img-in"><img src="../images/sample/yes.png" alt=""></div>
<div class="group-popup-img-in"><img src="../images/sample/right-img02.png" alt=""></div>
<div class="group-popup-img-in"><img src="../images/sample/right-img03.png" alt=""></div>
<div class="group-popup-img-in"><img src="../images/sample/right-img04.png" alt=""></div>
</div>
<div class="right-text">
<h3 class="right-title"><a href="#">group (5)</a></h3>
<div class="right-short">Total members: 3</div>
<div class="right-short">Group Business Definition 인터넷/소프트웨어</div>
</div>
</div>
</div>
</div>
</div>
</div>
1 Answer
Craig Watson
27,930 PointsHi there :)
Sorry it has taken so long for someone to answer your question, I am not quite getting to grips with what you are trying to achieve. Can you give me a few more details on what is supposed to be happening :S
From what im getting you want to create and octagon shape using css?
Craig :)