Joao
Joao
KPCKevin Powell - Community
Created by Joao on 5/31/2024 in #front-end
Make element sticky relative to parent?
Hi, sorry for the delay. Thanks for sharing that it works nicely 😄
3 replies
KPCKevin Powell - Community
Created by SpecialK on 5/23/2024 in #os-and-tools
Does anyone use Codeberg?
I just use it because it's good to have alternatives that don't mine our data for profit.
6 replies
KPCKevin Powell - Community
Created by SpecialK on 5/23/2024 in #os-and-tools
Does anyone use Codeberg?
I don't notice any speed difference between the two
6 replies
KPCKevin Powell - Community
Created by SpecialK on 5/23/2024 in #os-and-tools
Does anyone use Codeberg?
I do use it, in addition to GH. Unfortunately GH has become the Linkedin of programming so I must have it, but otherwise I would delete my account and use something else like Codeberg exclusively.
6 replies
KPCKevin Powell - Community
Created by vince on 5/17/2024 in #front-end
Stumped on typewriter effect
I don't have time to fix it right now, but I'm so close! edit: link probbly better: https://codepen.io/D10f/pen/vYwLEoK
10 replies
KPCKevin Powell - Community
Created by snxxwyy on 5/15/2024 in #front-end
custom properties over redefining general properties
You can also change CSS properties dynamically on the page which you can use to do things like select different themes. You can even do this with CSS-only techniques although you can use JavaScript as well.
5 replies
KPCKevin Powell - Community
Created by Joao on 5/13/2024 in #front-end
CSS pattern matching
As per the MDN docs https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors
a[href*="keyword"] {}
a[href*="keyword"] {}
3 replies
KPCKevin Powell - Community
Created by Joao on 5/13/2024 in #front-end
CSS pattern matching
Pff, as usual as soon as I ask online I find the answer right away 😫
3 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
But I would say just play with the settings a bit should be fine.
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
The casing in this case won't make a difference but being jpeg format original might explain it, as it already is compressed to some degree.
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
If any, or did you only apply compression?
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
Can I ask what formats did you convert from/to?
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
Oh, well, glad it all worked out in the end anyways
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
The documentation talks about how the quality is calculated and how to best apply it: https://imagemagick.org/script/command-line-options.php#quality
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
Oh, that's surprising... I guess it depends on the type of image and it contains too many hard to compress artifacts. 🤔
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
For compression specifically use -q and a value between 1 and 100, where 100 means leaving the original untouched since it refers to quality.
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
Also note that I intended this to convert images between formats so you need to specify the -f flag always even if it's the same. You can do this if you want to resize them instead or reduce the quality instead, for example:
$ img2format -f png -s 800x600 -o /home/joao/Desktop /home/joao/Downloads/*.png
$ img2format -f png -q 75 -o /home/joao/Desktop /home/joao/Downloads/*.png
$ img2format -f png -s 800x600 -o /home/joao/Desktop /home/joao/Downloads/*.png
$ img2format -f png -q 75 -o /home/joao/Desktop /home/joao/Downloads/*.png
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
I added the -o option to specify the output folder where you want to save the converted images (originals are preserved) since we last talked btw.
60 replies
KPCKevin Powell - Community
Created by ErickO on 4/16/2024 in #os-and-tools
Good Image compressors/minifiers for the command line?
Yeah, using a glob pattern should work, with the only requirement that it must come as the last argument. For instance:
$ img2format -f png -o /home/joao/Desktop /home/joao/Downloads/*.png
$ img2format -f png -o /home/joao/Desktop /home/joao/Downloads/*.png
60 replies
KPCKevin Powell - Community
Created by sgrytoyr on 4/11/2024 in #front-end
Dynamically sized grid with some parts scrollable
I think it's just difficult to tackle 😄 never realized something like this that we take for granted could be so complex.
7 replies