html - CSS overlapping transparent arrow elements -


Is it possible with CSS? I have tried through before / after the proxy elements, and when I can do some work for solid colors, I have a problem in doing this with transparency.

http://puu.sh/ctol6/875fb5db8f.png

Any suggestions?

If you do not need a black border around each item (as seen in the posted image You can still create the required size by Limit as follows:

  .timeline-unit: first, .timeline-unit: after {top : 0; Border: Solid transparent; Border width: 1.65 m; Height: 0; Width: 0; Status: Completed; Pointer-phenomena: none; } .timeline-unit: {content: ""; Left: 100%; Border-left-color: RGBA (51, 51, 51, 0.8); } .timeline-unit {status: relative; Display: Inline-block; Background: RGBA (51,51,51, .8); Padding: 1am; Line-height: 1.25em; Color: #fff; } .timeline-unit: {content: none; before; } .timeline-unit + .timeline-unit: {content: ""; before; Border color: RGBA (51, 51, 51, 0.8); Border-left-color: transparent; Border-right: 0; Correct: 100%; } .timeline-unit + .timeline-unit {margin-left: 2am; } / ************ DEMO ************* / body {background: red; Webkit-Animation: BG Rangar 4S Linear 0 S Infinite Optional; -MOZ Animation: BG RANAAR 4S Linear 0 S Infinite Optional; -O-Animation: BG RANAAR 4S Linear 0 S Infinite Optional; Animation: BG Rangar 4S Linear 0 S Infinite Optional; } @ -webkit-keyframes bgcolor {to {background: red; } {Background: green; }} @ -moz-keyframes bgcolor {to {background: red; } {Background: green; }} @ -O-Keframe BGcolor {{background: red; } {Background: green; }} @ Keyframe bg colors {{background: red; } {Background: green; }}  
  & lt; Div class = "timeline-unit" & gt; Timeline 1 & lt; / Div & gt; & Lt; Div class = "timeline-unit" & gt; Timeline 2 & lt; / Div & gt; & Lt; Div class = "timeline-unit" & gt; If you need to add a border to each item, then there are two options:           
  • Using the fake limit - (supported in WebKit / Firefox 35 +) .
  • Using CSS to create shapes, therefore border will be unused and will be available for later use (also supported in IE9 +) .

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -