mozilla
Your Search Results

    Coding guide: Value selectors

    This article is in need of a technical review.

    Draft
    This page is not complete.

    Download resources

    Here you can find examples of how to create value selectors on Firefox OS, as well as downloads for the CSS and image resources used by the built-in apps on Firefox OS. You can copy these resources into your app and make use of them to build apps that match these apps' appearances.

    Implementing value selectors

    To implement a toolbar using the style shown here, place the CSS and media files into your app and then import the CSS using the @import at-rule:

    @import url(resources/value_selector.css);

    Make sure the media files are in the location expected by the CSS (either by placing them in a corresponding location or by revising the CSS).

    Document Tags and Contributors

    Contributors to this page: Logi0, chrisdavidmills, kscarfone
    Last updated by: chrisdavidmills,