创建“导航面包屑”
I am wondering how I am able to obtain this with CSS/CSS3 and HTML. How can this be done?
As you can see, I pointed out the 3 navigation breadcrumb.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将图像保存在 html 根目录中,并使用 ul 的clearfix 来清除 li 浮点值。如果您使用 CSS 边框技术,可能会在某些浏览器中呈现模糊边框。
希望它能解决您的疑问。
Save image in root of html and use clearfix for ul to clearing li float value. if you use CSS border technique, that may render blurry border in some browser.
Hope it will solve your query.
我自己只需要这个...我发现的只是带有大量
::before
& 的示例。::after
伪元素。但我想尝试一下新的掩蔽技术。没有找到,所以我自己将其组合在一起:注意:这不是我做过的最漂亮的一个,但它具有使用 clip-path 这是实验性的,所以不要指望它能工作。我只在 chrome 中测试过这个
帮助我做到这一点的一个很棒的工具是 clippy
只需修改一些点 (x, y) 从右侧进行数学计算 - 箭头的宽度
>
Just needed this myself... All i found was examples with lots of
::before
&::after
pseudo elements. But I wanted to try out the new masking technic. Didn't find any, So I hacked together this myself:Note: It's not the prettiest one that I have done, But it has the structural part needed to solve it using clip-path It's experimental so don't count for this to work. I have only tested this in chrome
A awesome tool that helped me make this was clippy
Just had to modify some points (x, y) to be mathematically calculated from the right side - the width of the arrow head
>