├── CONTRIBUTING
├── LICENSE
├── README.md
├── carousel-configurator
├── .gitignore
├── .npmrc
├── README.md
├── package-lock.json
├── package.json
├── src
│ ├── app.d.ts
│ ├── app.html
│ ├── components
│ │ ├── Configurator.svelte
│ │ └── Switch.svelte
│ ├── lib
│ │ └── index.ts
│ └── routes
│ │ ├── +layout.svelte
│ │ ├── +page.js
│ │ ├── +page.svelte
│ │ └── index.css
├── static
│ ├── MonaspaceKrypton-SyntaxHighlighter-Regular.woff2
│ └── favicon.svg
├── svelte.config.js
├── tsconfig.json
└── vite.config.ts
├── carousels-gallery
├── .gitignore
├── README.md
├── astro.config.mjs
├── package-lock.json
├── package.json
├── public
│ ├── chameleon.mp4
│ ├── favicon.svg
│ ├── flora-1.jpg
│ ├── flora-2.jpg
│ ├── flora-3.jpg
│ ├── flora-4.jpg
│ ├── flying-cars-2.jpg
│ ├── flying-cars-3.jpg
│ ├── flying-cars.jpg
│ ├── fold-1.png
│ ├── fold-2.png
│ ├── fold-3.png
│ ├── fold-4.png
│ ├── fold-5.png
│ ├── googletv-logo.svg
│ ├── hot-fuss.jpg
│ ├── material-symbols.woff2
│ ├── neon-city.jpg
│ ├── neon-raptor.jpg
│ ├── neon-trex.jpg
│ ├── neon-wolf.jpg
│ ├── snow.mp4
│ ├── turtle.mp4
│ └── wheel.mp4
├── src
│ ├── components
│ │ └── Sidebar.astro
│ ├── env.d.ts
│ ├── layouts
│ │ └── Layout.astro
│ ├── pages
│ │ ├── bidi
│ │ │ └── grid.astro
│ │ ├── horizontal
│ │ │ ├── 3d.astro
│ │ │ ├── app-switcher.astro
│ │ │ ├── cards.astro
│ │ │ ├── curved.astro
│ │ │ ├── gallery.astro
│ │ │ ├── hubs.astro
│ │ │ ├── list.astro
│ │ │ ├── media-player.astro
│ │ │ ├── pages.astro
│ │ │ ├── product.astro
│ │ │ ├── series.astro
│ │ │ ├── slider.astro
│ │ │ ├── tabs.astro
│ │ │ ├── testimonials.astro
│ │ │ ├── video.astro
│ │ │ ├── weather.astro
│ │ │ └── wizard.astro
│ │ ├── index.astro
│ │ └── vertical
│ │ │ ├── list.astro
│ │ │ ├── scroll-spy.astro
│ │ │ ├── slides.astro
│ │ │ ├── stack.astro
│ │ │ └── wheel.astro
│ └── styles
│ │ ├── fonts.css
│ │ ├── index.css
│ │ ├── utilities.carousel.css
│ │ ├── utilities.css
│ │ └── utilities.tags.css
└── tsconfig.json
└── has-ua-visual-transition
├── README.md
└── src
├── index.html
├── mpa-navigation
├── . ignore
├── index.html
├── index2.html
├── index3.html
├── index4.html
└── scripts.js
├── mpa
├── . ignore
├── index.html
├── index2.html
├── index3.html
├── index4.html
└── scripts.js
└── spa
├── . ignore
├── index.html
└── scripts.js
/CONTRIBUTING:
--------------------------------------------------------------------------------
1 | # How to contribute
2 |
3 | We'd love to accept your patches and contributions to this project.
4 |
5 | ## Before you begin
6 |
7 | ### Sign our Contributor License Agreement
8 |
9 | Contributions to this project must be accompanied by a
10 | [Contributor License Agreement](https://cla.developers.google.com/about) (CLA).
11 | You (or your employer) retain the copyright to your contribution; this simply
12 | gives us permission to use and redistribute your contributions as part of the
13 | project.
14 |
15 | If you or your current employer have already signed the Google CLA (even if it
16 | was for a different project), you probably don't need to do it again.
17 |
18 | Visit to see your current agreements or to
19 | sign a new one.
20 |
21 | ### Review our community guidelines
22 |
23 | This project follows
24 | [Google's Open Source Community Guidelines](https://opensource.google/conduct/).
25 |
26 | ## Contribution process
27 |
28 | ### Code reviews
29 |
30 | All submissions, including submissions by project members, require review. We
31 | use GitHub pull requests for this purpose. Consult
32 | [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
33 | information on using pull requests.
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | Apache License
3 | Version 2.0, January 2004
4 | http://www.apache.org/licenses/
5 |
6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7 |
8 | 1. Definitions.
9 |
10 | "License" shall mean the terms and conditions for use, reproduction,
11 | and distribution as defined by Sections 1 through 9 of this document.
12 |
13 | "Licensor" shall mean the copyright owner or entity authorized by
14 | the copyright owner that is granting the License.
15 |
16 | "Legal Entity" shall mean the union of the acting entity and all
17 | other entities that control, are controlled by, or are under common
18 | control with that entity. For the purposes of this definition,
19 | "control" means (i) the power, direct or indirect, to cause the
20 | direction or management of such entity, whether by contract or
21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
22 | outstanding shares, or (iii) beneficial ownership of such entity.
23 |
24 | "You" (or "Your") shall mean an individual or Legal Entity
25 | exercising permissions granted by this License.
26 |
27 | "Source" form shall mean the preferred form for making modifications,
28 | including but not limited to software source code, documentation
29 | source, and configuration files.
30 |
31 | "Object" form shall mean any form resulting from mechanical
32 | transformation or translation of a Source form, including but
33 | not limited to compiled object code, generated documentation,
34 | and conversions to other media types.
35 |
36 | "Work" shall mean the work of authorship, whether in Source or
37 | Object form, made available under the License, as indicated by a
38 | copyright notice that is included in or attached to the work
39 | (an example is provided in the Appendix below).
40 |
41 | "Derivative Works" shall mean any work, whether in Source or Object
42 | form, that is based on (or derived from) the Work and for which the
43 | editorial revisions, annotations, elaborations, or other modifications
44 | represent, as a whole, an original work of authorship. For the purposes
45 | of this License, Derivative Works shall not include works that remain
46 | separable from, or merely link (or bind by name) to the interfaces of,
47 | the Work and Derivative Works thereof.
48 |
49 | "Contribution" shall mean any work of authorship, including
50 | the original version of the Work and any modifications or additions
51 | to that Work or Derivative Works thereof, that is intentionally
52 | submitted to Licensor for inclusion in the Work by the copyright owner
53 | or by an individual or Legal Entity authorized to submit on behalf of
54 | the copyright owner. For the purposes of this definition, "submitted"
55 | means any form of electronic, verbal, or written communication sent
56 | to the Licensor or its representatives, including but not limited to
57 | communication on electronic mailing lists, source code control systems,
58 | and issue tracking systems that are managed by, or on behalf of, the
59 | Licensor for the purpose of discussing and improving the Work, but
60 | excluding communication that is conspicuously marked or otherwise
61 | designated in writing by the copyright owner as "Not a Contribution."
62 |
63 | "Contributor" shall mean Licensor and any individual or Legal Entity
64 | on behalf of whom a Contribution has been received by Licensor and
65 | subsequently incorporated within the Work.
66 |
67 | 2. Grant of Copyright License. Subject to the terms and conditions of
68 | this License, each Contributor hereby grants to You a perpetual,
69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70 | copyright license to reproduce, prepare Derivative Works of,
71 | publicly display, publicly perform, sublicense, and distribute the
72 | Work and such Derivative Works in Source or Object form.
73 |
74 | 3. Grant of Patent License. Subject to the terms and conditions of
75 | this License, each Contributor hereby grants to You a perpetual,
76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77 | (except as stated in this section) patent license to make, have made,
78 | use, offer to sell, sell, import, and otherwise transfer the Work,
79 | where such license applies only to those patent claims licensable
80 | by such Contributor that are necessarily infringed by their
81 | Contribution(s) alone or by combination of their Contribution(s)
82 | with the Work to which such Contribution(s) was submitted. If You
83 | institute patent litigation against any entity (including a
84 | cross-claim or counterclaim in a lawsuit) alleging that the Work
85 | or a Contribution incorporated within the Work constitutes direct
86 | or contributory patent infringement, then any patent licenses
87 | granted to You under this License for that Work shall terminate
88 | as of the date such litigation is filed.
89 |
90 | 4. Redistribution. You may reproduce and distribute copies of the
91 | Work or Derivative Works thereof in any medium, with or without
92 | modifications, and in Source or Object form, provided that You
93 | meet the following conditions:
94 |
95 | (a) You must give any other recipients of the Work or
96 | Derivative Works a copy of this License; and
97 |
98 | (b) You must cause any modified files to carry prominent notices
99 | stating that You changed the files; and
100 |
101 | (c) You must retain, in the Source form of any Derivative Works
102 | that You distribute, all copyright, patent, trademark, and
103 | attribution notices from the Source form of the Work,
104 | excluding those notices that do not pertain to any part of
105 | the Derivative Works; and
106 |
107 | (d) If the Work includes a "NOTICE" text file as part of its
108 | distribution, then any Derivative Works that You distribute must
109 | include a readable copy of the attribution notices contained
110 | within such NOTICE file, excluding those notices that do not
111 | pertain to any part of the Derivative Works, in at least one
112 | of the following places: within a NOTICE text file distributed
113 | as part of the Derivative Works; within the Source form or
114 | documentation, if provided along with the Derivative Works; or,
115 | within a display generated by the Derivative Works, if and
116 | wherever such third-party notices normally appear. The contents
117 | of the NOTICE file are for informational purposes only and
118 | do not modify the License. You may add Your own attribution
119 | notices within Derivative Works that You distribute, alongside
120 | or as an addendum to the NOTICE text from the Work, provided
121 | that such additional attribution notices cannot be construed
122 | as modifying the License.
123 |
124 | You may add Your own copyright statement to Your modifications and
125 | may provide additional or different license terms and conditions
126 | for use, reproduction, or distribution of Your modifications, or
127 | for any such Derivative Works as a whole, provided Your use,
128 | reproduction, and distribution of the Work otherwise complies with
129 | the conditions stated in this License.
130 |
131 | 5. Submission of Contributions. Unless You explicitly state otherwise,
132 | any Contribution intentionally submitted for inclusion in the Work
133 | by You to the Licensor shall be under the terms and conditions of
134 | this License, without any additional terms or conditions.
135 | Notwithstanding the above, nothing herein shall supersede or modify
136 | the terms of any separate license agreement you may have executed
137 | with Licensor regarding such Contributions.
138 |
139 | 6. Trademarks. This License does not grant permission to use the trade
140 | names, trademarks, service marks, or product names of the Licensor,
141 | except as required for reasonable and customary use in describing the
142 | origin of the Work and reproducing the content of the NOTICE file.
143 |
144 | 7. Disclaimer of Warranty. Unless required by applicable law or
145 | agreed to in writing, Licensor provides the Work (and each
146 | Contributor provides its Contributions) on an "AS IS" BASIS,
147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148 | implied, including, without limitation, any warranties or conditions
149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150 | PARTICULAR PURPOSE. You are solely responsible for determining the
151 | appropriateness of using or redistributing the Work and assume any
152 | risks associated with Your exercise of permissions under this License.
153 |
154 | 8. Limitation of Liability. In no event and under no legal theory,
155 | whether in tort (including negligence), contract, or otherwise,
156 | unless required by applicable law (such as deliberate and grossly
157 | negligent acts) or agreed to in writing, shall any Contributor be
158 | liable to You for damages, including any direct, indirect, special,
159 | incidental, or consequential damages of any character arising as a
160 | result of this License or out of the use or inability to use the
161 | Work (including but not limited to damages for loss of goodwill,
162 | work stoppage, computer failure or malfunction, or any and all
163 | other commercial damages or losses), even if such Contributor
164 | has been advised of the possibility of such damages.
165 |
166 | 9. Accepting Warranty or Additional Liability. While redistributing
167 | the Work or Derivative Works thereof, You may choose to offer,
168 | and charge a fee for, acceptance of support, warranty, indemnity,
169 | or other liability obligations and/or rights consistent with this
170 | License. However, in accepting such obligations, You may act only
171 | on Your own behalf and on Your sole responsibility, not on behalf
172 | of any other Contributor, and only if You agree to indemnify,
173 | defend, and hold each Contributor harmless for any liability
174 | incurred by, or claims asserted against, such Contributor by reason
175 | of your accepting any such warranty or additional liability.
176 |
177 | END OF TERMS AND CONDITIONS
178 |
179 | APPENDIX: How to apply the Apache License to your work.
180 |
181 | To apply the Apache License to your work, attach the following
182 | boilerplate notice, with the fields enclosed by brackets "[]"
183 | replaced with your own identifying information. (Don't include
184 | the brackets!) The text should be enclosed in the appropriate
185 | comment syntax for the file format. We also recommend that a
186 | file or class name and description of purpose be included on the
187 | same "printed page" as the copyright notice for easier
188 | identification within third-party archives.
189 |
190 | Copyright [yyyy] [name of copyright owner]
191 |
192 | Licensed under the Apache License, Version 2.0 (the "License");
193 | you may not use this file except in compliance with the License.
194 | You may obtain a copy of the License at
195 |
196 | http://www.apache.org/licenses/LICENSE-2.0
197 |
198 | Unless required by applicable law or agreed to in writing, software
199 | distributed under the License is distributed on an "AS IS" BASIS,
200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201 | See the License for the specific language governing permissions and
202 | limitations under the License.
203 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## CSS and Web UI Demos
2 |
3 | Collection of demos from the CSS and Web UI Chrome DevRel team. Each demo goes in its own subfolder, each with its own instructions.
4 |
5 | ## License
6 |
7 | This project is released under the Apache 2.0 License. See the enclosed [`LICENSE`](./LICENSE) for details.
8 |
9 | ## Contributing
10 |
11 | We'd love to accept your patches and contributions to this project. See the enclosed [`CONTRIBUTING`](./CONTRIBUTING) for details.
--------------------------------------------------------------------------------
/carousel-configurator/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
3 | # Output
4 | .output
5 | .vercel
6 | .netlify
7 | /.svelte-kit
8 | /build
9 |
10 | # OS
11 | .DS_Store
12 | Thumbs.db
13 |
14 | # Env
15 | .env
16 | .env.*
17 | !.env.example
18 | !.env.test
19 |
20 | # Vite
21 | vite.config.js.timestamp-*
22 | vite.config.ts.timestamp-*
23 |
--------------------------------------------------------------------------------
/carousel-configurator/.npmrc:
--------------------------------------------------------------------------------
1 | engine-strict=true
2 |
--------------------------------------------------------------------------------
/carousel-configurator/README.md:
--------------------------------------------------------------------------------
1 | # create-svelte
2 |
3 | Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
4 |
5 | ## Creating a project
6 |
7 | If you're seeing this, you've probably already done this step. Congrats!
8 |
9 | ```bash
10 | # create a new project in the current directory
11 | npm create svelte@latest
12 |
13 | # create a new project in my-app
14 | npm create svelte@latest my-app
15 | ```
16 |
17 | ## Developing
18 |
19 | Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20 |
21 | ```bash
22 | npm run dev
23 |
24 | # or start the server and open the app in a new browser tab
25 | npm run dev -- --open
26 | ```
27 |
28 | ## Building
29 |
30 | To create a production version of your app:
31 |
32 | ```bash
33 | npm run build
34 | ```
35 |
36 | You can preview the production build with `npm run preview`.
37 |
38 | > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
39 |
--------------------------------------------------------------------------------
/carousel-configurator/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "carousel-configurator",
3 | "version": "1.0.0",
4 | "author": {
5 | "name": "Adam Argyle",
6 | "url": "https://nerdy.dev"
7 | },
8 | "description": "Build a carousel while learning the CSS to make it.",
9 | "keywords": [
10 | "CSS",
11 | "Scroll Markers",
12 | "Scroll Buttons",
13 | "Columns",
14 | "interactivity: inert"
15 | ],
16 | "scripts": {
17 | "dev": "vite dev",
18 | "build": "vite build",
19 | "preview": "vite preview",
20 | "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
21 | "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
22 | "deploy": "cp package.json build/ && gsutil -m rsync -rd build gs://chrome-dev-demos/public/carousel-configurator"
23 | },
24 | "devDependencies": {
25 | "@sveltejs/adapter-auto": "^3.3.1",
26 | "@sveltejs/adapter-netlify": "^4.4.2",
27 | "@sveltejs/kit": "^2.21.1",
28 | "@sveltejs/vite-plugin-svelte": "^3.1.2",
29 | "svelte": "^4.2.20",
30 | "svelte-check": "^4.2.1",
31 | "typescript": "^5.8.3",
32 | "vite": "^5.4.19"
33 | },
34 | "type": "module",
35 | "dependencies": {
36 | "@sveltejs/adapter-static": "^3.0.8",
37 | "open-props": "^1.7.15"
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/carousel-configurator/src/app.d.ts:
--------------------------------------------------------------------------------
1 | // See https://kit.svelte.dev/docs/types#app
2 | // for information about these interfaces
3 | declare global {
4 | namespace App {
5 | // interface Error {}
6 | // interface Locals {}
7 | // interface PageData {}
8 | // interface PageState {}
9 | // interface Platform {}
10 | }
11 | }
12 |
13 | export {};
14 |
--------------------------------------------------------------------------------
/carousel-configurator/src/app.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
69 |
70 | {/if}
71 |
72 |
--------------------------------------------------------------------------------
/carousel-configurator/src/lib/index.ts:
--------------------------------------------------------------------------------
1 | // place files you want to import through the `$lib` alias in this folder.
2 |
--------------------------------------------------------------------------------
/carousel-configurator/src/routes/+layout.svelte:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/carousel-configurator/src/routes/+page.js:
--------------------------------------------------------------------------------
1 | // since there's no dynamic data here, we can prerender
2 | // it so that it gets served as a static asset in production
3 | export const prerender = true;
--------------------------------------------------------------------------------
/carousel-configurator/src/routes/+page.svelte:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 | CSS Carousel Configurator
7 |
11 |
12 |
13 |
14 |
15 |
Experimental Feature
16 |
⚠️ Unsupported ⚠️
17 |
18 | This configurator requires a few CSS features that aren't present in your
19 | current browser.
20 |
53 | This gallery requires a few CSS features that aren't currently available
54 | in your browser. These features are available in Chrome 135+ and other
55 | Chromium-based browsers.
56 |
16 | Scroll buttons on all sides plus markers for each snap target. This demo
17 | puts everything all together for, what no longer feels like a carousel,
18 | and is instead a manifestation of scroll affordances on a grid.
19 |
14 | This carousel is akin to the Android and iOS app switcher experiences
15 | where a user horizontally pans through their apps and then chooses one.
16 | Most of the work is done with scroll driven animations, but the scroll
17 | button affordance adds a nice "web style" flare to the experience.
18 |
131 | Sed ut perspiciatis unde omnis iste natus error sit voluptatem
132 | accusantium doloremque laudantium, totam rem aperiam, eaque
133 | ipsa quae ab illo inventore veritatis et quasi architecto
134 | beatae vitae dicta sunt explicabo.
135 |
18 | This is a regular list of items, but they've been given tabindex=0 so they can be focused. In addition, interactivity: inert
21 | is used with scroll driven animation view(x) to make offscreen
22 | items non-focusable. Items in this state also have reduced opacity.
23 |
24 |
25 | Scroll buttons also responsively adapt to inner or outer positioning
26 | based on availability!
27 |
17 | Scroll buttons are used as next and previous track controls and scroll
18 | markers are each track, appearing to be a playlist while still
19 | functioning the same as if they were dots.
20 |
21 |
22 | Very nice that the next and previous track buttons automatically disable
23 | when at the end or beginning.
24 |
17 | Pages are automatically generated based on the number of items that can
18 | fit into a ::column. Try resizing it to see the column
19 | layout adjust the items per page.
20 |
16 | Classic product image gallery. Markers are mirrored images of the
17 | products without duplicating elements. The screen reader experience when
18 | navigating via the scroll markers is provided the alt text from the
19 | image.
20 |
33 | Tired of software that's more glitch than glitter? We craft
34 | elegant, powerful solutions that not only function flawlessly
35 | but also deliver an amazing user experience.
36 |
37 |
38 |
39 |
40 |
41 |
42 |
49 |
50 |
Innovate. Automate. Elevate.
51 |
52 | Don't just keep up – surge ahead. We help you harness the power
53 | of innovation and automation to streamline your operations,
54 | boost efficiency, and elevate your business to new heights.
55 |
56 |
57 |
58 |
59 |
60 |
61 |
68 |
69 |
Your Vision, Our Code, Limitless Possibilities.
70 |
71 | Every great idea starts with a vision. We transform your vision
72 | into reality with cutting-edge software solutions tailored to
73 | your unique needs. Let's unlock limitless possibilities
74 | together.
75 |
76 |
77 |
78 |
79 |
80 |
81 |
88 |
89 |
Software Solutions, Simplified.
90 |
91 | Say goodbye to complex, clunky software. We believe in
92 | simplicity without compromise. Our intuitive solutions are
93 | designed to make your life easier, so you can focus on what
94 | matters most.
95 |
30 | Proin sodales condimentum felis, mattis tristique sem porttitor
31 | vitae. Suspendisse id condimentum orci. Interdum et malesuada
32 | fames ac ante ipsum primis in faucibus. Integer a nunc dignissim,
33 | varius urna nec, placerat ex. Vestibulum lacinia tempus semper.
34 |
35 |
36 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam
37 | finibus nibh dolor, eget dictum mauris pharetra ac. Nulla gravida
38 | gravida mauris, imperdiet efficitur diam congue et. Nam pharetra
39 | nulla sed pellentesque pulvinar. Nulla eu pretium ligula.
40 | Curabitur vulputate, nulla quis laoreet ornare, mauris ex pretium
41 | ligula, at dapibus lacus elit ac nibh.
42 |
43 |
44 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam
45 | finibus nibh dolor, eget dictum mauris pharetra ac. Nulla gravida
46 | gravida mauris, imperdiet efficitur diam congue et. Nam pharetra
47 | nulla sed pellentesque pulvinar. Nulla eu pretium ligula.
48 | Curabitur vulputate, nulla quis laoreet ornare, mauris ex pretium
49 | ligula, at dapibus lacus elit ac nibh.
50 |
51 |
52 |
53 |
54 |
55 |
56 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem
57 | id cupiditate distinctio hic eum blanditiis in, temporibus itaque
58 | dolore, unde explicabo! Voluptates veniam perferendis debitis
59 | recusandae quod vero porro quidem!
60 |
61 |
62 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem
63 | id cupiditate distinctio hic eum blanditiis in, temporibus itaque
64 | dolore, unde explicabo! Voluptates veniam perferendis debitis
65 | recusandae quod vero porro quidem!
66 |
67 |
68 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem
69 | id cupiditate distinctio hic eum blanditiis in, temporibus itaque
70 | dolore, unde explicabo! Voluptates veniam perferendis debitis
71 | recusandae quod vero porro quidem!
72 |
73 |
74 |
75 |
76 |
77 |
78 | Nam ex leo, auctor vitae lectus ac, imperdiet viverra nisi.
79 | Maecenas augue arcu, vulputate nec posuere ac, iaculis dignissim
80 | ipsum. Nam efficitur quam ac turpis mollis viverra.
81 |
82 |
83 | Donec pulvinar nisl dolor, vel tincidunt magna viverra vel.
84 | Curabitur pharetra ex sit amet urna interdum finibus. In arcu est,
85 | efficitur nec velit at, scelerisque efficitur dolor. Praesent orci
86 | turpis, interdum et diam nec, ornare ullamcorper tortor.
87 |
88 |
89 | Donec pulvinar nisl dolor, vel tincidunt magna viverra vel.
90 | Curabitur pharetra ex sit amet urna interdum finibus. In arcu est,
91 | efficitur nec velit at, scelerisque efficitur dolor. Praesent orci
92 | turpis, interdum et diam nec, ornare ullamcorper tortor.
93 |
16 | Conditional scroll buttons featured in this demo. Hidden, unless the
17 | visiting user has a hover enabled device and is actively hovering the carousel
18 | or keyboard focus is active within the carousel.
19 |
20 |
21 |
22 |
23 |
27 |
28 |
29 |
30 |
31 | Words can be like X-rays, if you use them properly—they’ll go
32 | through anything. You read and you’re pierced.
33 |
34 |
35 |
36 | —Aldous Huxley, Brave New World
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 | Words can be like X-rays, if you use them properly—they’ll go
45 | through anything. You read and you’re pierced.
46 |
47 |
48 |
49 | —Aldous Huxley, Brave New World
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 | Words can be like X-rays, if you use them properly—they’ll go
58 | through anything. You read and you’re pierced.
59 |
60 |
61 |
62 | —Aldous Huxley, Brave New World
63 |
64 |
65 |
16 | This example demonstrates a horizontal video slider with scroll buttons.
17 | Scroll driven animation creates a neat parallax and mask effect as you
18 | scroll AND scroll driven animation is incrementing a counter to show the
19 | current page against the total.
20 |
14 | A tiny weather widget. Carousels don't always have to be full bleed
15 | animated sliders. This example is from the Android homescreen, showing
16 | contextual messages given the moment.
17 |
16 | Keep track of user's along a guided process with scroll markers. The
17 | scroll-state() queries inert any form the user isn't currently on.
18 |
19 |
20 | If there's no form elements or numbers, this is often called
21 | "onboarding." Here's a collection of onboarding demos that you could rebuild with CSS carousel markers easily.
25 |
14 | This scroll spy component uses scroll markers as in-page links to a
15 | section of content. Scroll markers are aware and stateful to the section
16 | they were generated with, and we use this to highlight the titles.
17 |
18 |
19 | Check the mobile layout, it looks a lot like tabs. It's also very much a vertical variant on the TV Series demo, but it doesn't start you at your current episode.
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
A vertical scroller
32 |
33 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
34 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
35 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
36 | sunt!
37 |
38 |
39 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
40 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
41 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
42 | sunt!
43 |
44 |
45 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
46 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
47 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
48 | sunt!
49 |
50 |
51 |
52 |
Markers for sections
53 |
54 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
55 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
56 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
57 | sunt!
58 |
59 |
60 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
61 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
62 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
63 | sunt!
64 |
65 |
66 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
67 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
68 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
69 | sunt!
70 |
71 |
72 | Nice long section to show the spy stays highlighted for the entirety
73 | of it's section.
74 |
75 |
76 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
77 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
78 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
79 | sunt!
80 |
81 |
82 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
83 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
84 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
85 | sunt!
86 |
87 |
88 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
89 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
90 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
91 | sunt!
92 |
93 |
94 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
95 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
96 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
97 | sunt!
98 |
99 |
100 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
101 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
102 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
103 | sunt!
104 |
105 |
106 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
107 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
108 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
109 | sunt!
110 |
111 |
112 |
113 |
Grid to lay it all out
114 |
115 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
116 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
117 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
118 | sunt!
119 |
120 |
121 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
122 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
123 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
124 | sunt!
125 |
126 |
127 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum
128 | ipsam, animi, nemo eaque at dolorum ipsum cum velit error iste
129 | magni. Ipsam commodi soluta corporis corrupti error eum reiciendis
130 | sunt!
131 |
16 | A vertical scroll that creates a stack effect. Most of the effect is
17 | scroll driven animation but the added scroll button is a meaningful
18 | affordance and scroll hint.
19 |
20 |
21 |
22 |
23 |
27 |
28 |
29 |
CNN
30 |
Lorem ipsum dolor sit amet consectetur adipisicing