diff --git a/demo/pc/timeline.html b/demo/pc/timeline.html new file mode 100644 index 0000000..63342e8 --- /dev/null +++ b/demo/pc/timeline.html @@ -0,0 +1,51 @@ +
\ No newline at end of file diff --git a/public/cdn/layui-ul.css b/public/cdn/layui-ul.css index 09fa27f..b6f1eaf 100644 --- a/public/cdn/layui-ul.css +++ b/public/cdn/layui-ul.css @@ -1478,4 +1478,20 @@ body .layui-quote-gray { .ul-site-item-desc { font-size: 12px; color : #666; +} + +.ul-timeline-rowstyle { + display : flex; + flex-wrap : nowrap; + overflow-x: auto; + width : 100%; +} + +.ul-timeline-rowstyle .layui-timeline-item { + margin-right: 15px; + min-width : 300px; +} + +.ul-timeline-rowstyle .layui-timeline-item:last-child::before { + display: block; } \ No newline at end of file