Skip to content

Use background-image longhand syntax for resizing purposes#37

Open
colourgarden wants to merge 1 commit intoadamfairhead:masterfrom
colourgarden:master
Open

Use background-image longhand syntax for resizing purposes#37
colourgarden wants to merge 1 commit intoadamfairhead:masterfrom
colourgarden:master

Conversation

@colourgarden
Copy link

Using the shorthand background attribute when setting the background image for each class overrides the background-size:100% value being set on .webicon. This means, when using dimensions other than 30x30px, the background doesn’t get resized to fit the container. Using background-image longhand style solves this.

Using the shorthand ‘background’ syntax when setting the background
image of each class overrides the background-size attribute being set
on .webicon. This means, when using dimensions other than 30x30px, the
background doesn’t get resized to fit the container. Using
background-image longhand style solves this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant