---
title: Merge Demo
subTitle: Merge
nav: demos
description: Merge Items
sort: 5
tags:
- demo
- core
---
1
2
3
4
6
7
8
9
10
11
12
13
14
15
{{#markdown }}
### Overview
Merge option requires `data-merge="number_items_to_merge"` on any child element (can be nested as well). There is a sibling option called `mergeFit` which fits merged elements to screen size.
See item 6 on breakpoint below and above `1000px` screen width.
### Setup
```
$('.owl-carousel').owlCarousel({
items:5,
loop:true,
margin:10,
merge:true,
responsive:{
678:{
mergeFit:true
},
1000:{
mergeFit:false
}
}
});
```
### html
```
1
2
3
4
6
7
8
9
10
11
12
13
14
15
```
{{/markdown }}