Answer the question
In order to leave comments, you need to log in
What program adds icons to files and folders that are committed to GitHub?
Good afternoon, ladies and gentlemen!
In the process of mastering GitHub, I installed various programs and software. And it so happened that some program added an additional element to the file icon on Windows - a green tick or a red cross. Depending on whether the file is saved and pushed to Git.
Tell me, what is this program or what part does it include?
I am new to working with Git.
Answer the question
In order to leave comments, you need to log in
Use multiple backgrounds, they are supported in all modern browsers.
And images can, like mine, be embedded directly in CSS using base64 .
True, in your case, the problem is that the pattern from the next block falls into this picture with teeth in some places. In this case, for webkit browsers, you can use, say, -webkit-mask-image, and for Mozilla - an svg mask, but in my opinion this is too tedious + poorly supported by browsers.
Or, as an option, make orange teeth, and add a piece of hand in png to the right place on them. But this is also not a very convenient way.
Perhaps, in this version, the easiest way is to make the whole picture.
PS If I did, I would ask the designer how important it is that the pattern falls on the teeth. And if it's not very important, I would move it so that it doesn't hit.
I agree, you take a picture of 7x7 pixels, it will weigh a couple of bytes and fill the entire block horizontally))
Write to a div:before block, then paste it as a background image, do a repeat-x. Everything is simple.
Hello example .
I'm not an expert in layout, but for some reason it became interesting to me :). Still, I couldn’t figure out how to do it on CCS, but with the help of JS and without background images something like this:
https://jsfiddle.net/tenzb6yt/
PS: with jquery, simply because it’s faster to write, you can write without it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question