Results 1 to 4 of 4

Thread: Setting Image size

  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    13

    Default Answered: Setting Image size

    Hi,
    I have style:background-image:url in js which has been set as background image for a view, I need to set
    size for the image in css?

  2. You can use the background-size CSS rule.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448
    Answers
    3997

    Default

    You can use the background-size CSS rule.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  4. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    13

    Default Setting Image size

    Hi,

    How to set position for background image using css3?

  5. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448
    Answers
    3997

    Default

    Use the background-position rule.

    Google may be your friend also.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •