{"id":16798,"date":"2024-03-16T05:08:48","date_gmt":"2024-03-15T20:08:48","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/"},"modified":"2025-08-06T08:51:44","modified_gmt":"2025-08-05T23:51:44","slug":"how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/","title":{"rendered":"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f"},"content":{"rendered":"<p>Layui\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u30011\u753b\u9762\u306e\u5217\u306e\u8a2d\u5b9a\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u30e2\u30d0\u30a4\u30eb\u7528\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3042\u308a\u3001\u30b9\u30e9\u30a4\u30c0\u30fc\u30a2\u30a4\u30c6\u30e0\u306e\u5e45\u306e\u307f\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u30021\u753b\u9762\u306e\u5217\u3092\u5b9f\u73fe\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4ed6\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306fjQuery\u3092\u4f7f\u7528\u3057\u30661\u753b\u9762\u306e\u5217\u3092\u5b9f\u73fe\u3059\u308b\u7c21\u5358\u306a\u4f8b\u3067\u3059\u3002<\/p>\n<p>\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306eHTML\u30b3\u30fc\u30c9:<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">div<\/span> <span class=\"hljs-attr\">class<\/span>=<span class=\"hljs-string\">\"carousel\"<\/span>&gt;<\/span>\r\n  <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">ul<\/span> <span class=\"hljs-attr\">class<\/span>=<span class=\"hljs-string\">\"carousel-list\"<\/span>&gt;<\/span>\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">li<\/span>&gt;<\/span>1<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">li<\/span>&gt;<\/span>\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">li<\/span>&gt;<\/span>2<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">li<\/span>&gt;<\/span>\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">li<\/span>&gt;<\/span>3<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">li<\/span>&gt;<\/span>\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">li<\/span>&gt;<\/span>4<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">li<\/span>&gt;<\/span>\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">li<\/span>&gt;<\/span>5<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">li<\/span>&gt;<\/span>\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">li<\/span>&gt;<\/span>6<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">li<\/span>&gt;<\/span>\r\n  <span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">ul<\/span>&gt;<\/span>\r\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">div<\/span>&gt;<\/span>\r\n<\/code><\/pre>\n<p>CSS\u30b3\u30fc\u30c9:<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-selector-class\">.carousel<\/span> {\r\n  <span class=\"hljs-attribute\">overflow<\/span>: hidden;\r\n  <span class=\"hljs-attribute\">position<\/span>: relative;\r\n}\r\n<span class=\"hljs-selector-class\">.carousel-list<\/span> {\r\n  <span class=\"hljs-attribute\">display<\/span>: flex;\r\n  <span class=\"hljs-attribute\">width<\/span>: <span class=\"hljs-number\">100%<\/span>;\r\n  <span class=\"hljs-attribute\">transition<\/span>: transform <span class=\"hljs-number\">0.5s<\/span> ease;\r\n}\r\n<span class=\"hljs-selector-class\">.carousel-list<\/span> <span class=\"hljs-selector-tag\">li<\/span> {\r\n  <span class=\"hljs-attribute\">flex<\/span>: <span class=\"hljs-number\">0<\/span> <span class=\"hljs-number\">0<\/span> <span class=\"hljs-number\">20%<\/span>;\r\n  <span class=\"hljs-attribute\">padding<\/span>: <span class=\"hljs-number\">10px<\/span>;\r\n}\r\n<\/code><\/pre>\n<p>JavaScript\u306e\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"post-pre\"><code>$(<span class=\"hljs-keyword\">function<\/span>() {\r\n  <span class=\"hljs-keyword\">var<\/span> carousel = $(<span class=\"hljs-string\">'.carousel'<\/span>);\r\n  <span class=\"hljs-keyword\">var<\/span> carouselList = carousel.<span class=\"hljs-title function_\">find<\/span>(<span class=\"hljs-string\">'.carousel-list'<\/span>);\r\n  <span class=\"hljs-keyword\">var<\/span> carouselItemWidth = carouselList.<span class=\"hljs-title function_\">find<\/span>(<span class=\"hljs-string\">'li'<\/span>).<span class=\"hljs-title function_\">outerWidth<\/span>(<span class=\"hljs-literal\">true<\/span>);\r\n  <span class=\"hljs-keyword\">var<\/span> visibleItemCount = <span class=\"hljs-title class_\">Math<\/span>.<span class=\"hljs-title function_\">floor<\/span>(carousel.<span class=\"hljs-title function_\">width<\/span>() \/ carouselItemWidth);\r\n  <span class=\"hljs-keyword\">var<\/span> totalItemCount = carouselList.<span class=\"hljs-title function_\">find<\/span>(<span class=\"hljs-string\">'li'<\/span>).<span class=\"hljs-property\">length<\/span>;\r\n  <span class=\"hljs-keyword\">var<\/span> currentIndex = <span class=\"hljs-number\">0<\/span>;\r\n  \r\n  carouselList.<span class=\"hljs-title function_\">css<\/span>(<span class=\"hljs-string\">'width'<\/span>, totalItemCount * carouselItemWidth);\r\n  \r\n  $(<span class=\"hljs-string\">'.carousel-prev'<\/span>).<span class=\"hljs-title function_\">click<\/span>(<span class=\"hljs-keyword\">function<\/span>() {\r\n    <span class=\"hljs-keyword\">if<\/span> (currentIndex &gt; <span class=\"hljs-number\">0<\/span>) {\r\n      currentIndex--;\r\n      carouselList.<span class=\"hljs-title function_\">css<\/span>(<span class=\"hljs-string\">'transform'<\/span>, <span class=\"hljs-string\">'translateX('<\/span> + (-currentIndex * carouselItemWidth) + <span class=\"hljs-string\">'px)'<\/span>);\r\n    }\r\n  });\r\n  \r\n  $(<span class=\"hljs-string\">'.carousel-next'<\/span>).<span class=\"hljs-title function_\">click<\/span>(<span class=\"hljs-keyword\">function<\/span>() {\r\n    <span class=\"hljs-keyword\">if<\/span> (currentIndex &lt; totalItemCount - visibleItemCount) {\r\n      currentIndex++;\r\n      carouselList.<span class=\"hljs-title function_\">css<\/span>(<span class=\"hljs-string\">'transform'<\/span>, <span class=\"hljs-string\">'translateX('<\/span> + (-currentIndex * carouselItemWidth) + <span class=\"hljs-string\">'px)'<\/span>);\r\n    }\r\n  });\r\n});\r\n<\/code><\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001\u5404\u30b9\u30e9\u30a4\u30c9\u304c20\uff05\u306e\u5e45\u3092\u5360\u3081\u308b\u3088\u3046\u306bflex\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f7f\u7528\u3057\u3001JavaScript\u3067\u8868\u793a\u3055\u308c\u308b\u30b9\u30e9\u30a4\u30c9\u306e\u6570\u3068\u73fe\u5728\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u52d5\u7684\u306b\u8a08\u7b97\u3057\u3066\u30011\u753b\u9762\u306b\u5217\u3092\u8868\u793a\u3059\u308b\u52b9\u679c\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066CSS\u30b9\u30bf\u30a4\u30eb\u3068JavaScript\u30b3\u30fc\u30c9\u3092\u8abf\u6574\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Layui\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u30011\u753b\u9762\u306e\u5217\u306e\u8a2d\u5b9a\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u30e2\u30d0\u30a4\u30eb\u7528\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3042\u308a\u3001\u30b9\u30e9\u30a4\u30c0\u30fc\u30a2\u30a4\u30c6\u30e0\u306e\u5e45\u306e\u307f\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u30021\u753b\u9762\u306e\u5217\u3092\u5b9f\u73fe\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4ed6\u306e\u30b9\u30e9 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,18],"class_list":["post-16798","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-18"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f\" \/>\n<meta property=\"og:description\" content=\"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-15T20:08:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-05T23:51:44+00:00\" \/>\n<meta name=\"author\" content=\"\u82bd\u4f9d, \u96e8\u591c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u82bd\u4f9d, \u96e8\u591c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/\",\"name\":\"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-15T20:08:48+00:00\",\"dateModified\":\"2025-08-05T23:51:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/aeb60a7861f2f002b54c66bd65bc6c27\"},\"description\":\"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/aeb60a7861f2f002b54c66bd65bc6c27\",\"name\":\"\u82bd\u4f9d, \u96e8\u591c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6305fe5cabc2b854c1208975a47fbf3f8cef3f7cd775b94dceedbe59b74a8010?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6305fe5cabc2b854c1208975a47fbf3f8cef3f7cd775b94dceedbe59b74a8010?s=96&d=mm&r=g\",\"caption\":\"\u82bd\u4f9d, \u96e8\u591c\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/meiamaya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f - Blog - Silicon Cloud","description":"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\/","og_locale":"ja_JP","og_type":"article","og_title":"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f","og_description":"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-15T20:08:48+00:00","article_modified_time":"2025-08-05T23:51:44+00:00","author":"\u82bd\u4f9d, \u96e8\u591c","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u82bd\u4f9d, \u96e8\u591c","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/","name":"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-15T20:08:48+00:00","dateModified":"2025-08-05T23:51:44+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/aeb60a7861f2f002b54c66bd65bc6c27"},"description":"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"How to set the single screen display column in the layui carousel? layui\u306e\u30ab\u30eb\u30fc\u30bb\u30eb\u3067\u5358\u4e00\u753b\u9762\u8868\u793a\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/aeb60a7861f2f002b54c66bd65bc6c27","name":"\u82bd\u4f9d, \u96e8\u591c","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6305fe5cabc2b854c1208975a47fbf3f8cef3f7cd775b94dceedbe59b74a8010?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6305fe5cabc2b854c1208975a47fbf3f8cef3f7cd775b94dceedbe59b74a8010?s=96&d=mm&r=g","caption":"\u82bd\u4f9d, \u96e8\u591c"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/meiamaya\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-set-the-single-screen-display-column-in-the-layui-carousel-layui%e3%81%ae%e3%82%ab%e3%83%ab%e3%83%bc%e3%82%bb%e3%83%ab%e3%81%a7%e5%8d%98%e4%b8%80%e7%94%bb%e9%9d%a2%e8%a1%a8%e7%a4%ba%e5%88%97\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/16798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=16798"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/16798\/revisions"}],"predecessor-version":[{"id":92422,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/16798\/revisions\/92422"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=16798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=16798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=16798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}