# jQuery/CSS Style Selectors for Codename One

DevFeed: [jQuery/CSS Style Selectors for Codename One](<https://devfeed.tech/articles/jquery-css-style-selectors-for-codename-one-19345.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/jquery-css-style-selectors-for-cn1/>)

Author: Steve Hannah

Published: 2017-03-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [selectors](<https://devfeed.tech/topics/selectors.md>), [jQuery](<https://devfeed.tech/topics/jquery.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [ui](<https://devfeed.tech/topics/ui.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [library](<https://devfeed.tech/tags/library.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [selectors](<https://devfeed.tech/tags/selectors.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

This tutorial introduces Codename One's ComponentSelector class, which is heavily influenced by jQuery. It explains CSS-like component selection, a fluent API, set-based operations, and effects such as fading and sliding components.

## Source excerpt

The ComponentSelector class is a new class that brings the power of jQuery to Codename One. While it is not actually jQuery, it is heavily influenced by it. If you're not familiar with jQuery, here is the 10 second intro. jQuery is a javascript library, created by John Resig in 2006, that has become a staple of browser-based UI development. As of March 2017, over 70% of web sites are using jQuery. The initial problem that jQuery solved was browser incompatibility issues. It provided a consistent API for most useful DOM methods so that the developer didn't have to spend all their days and nights fighting with browser compatibility issues. In a way, it did for Javascript, what Codename One does for mobile apps.