Web Dev
Multiline Ellipsis CSS
Use this, seems to work pretty well. Note, that you don’t want to add any padding on the target element, otherwise it will show text beyond the overflow: .blog-tile-excerpt{ display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
Read MoreJavascript – Show or Hide an Element
Showing or hiding an element with javascript: (use “#” for elements by ID, or “.” for elements by class) document.querySelector(“#element”).style.display = ‘block’; document.querySelector(“#element”).style.display = ‘none’;
Read MoreOffset a Path in Inkscape
I used to use drafting programs quite frequently in the past. One common action that I performed quite frequently was offsetting lines, which was pretty simple to do. Every once in a while, I find the need to do something similar in Inkscape. While not quite as easy and straightforward, offsetting paths in inkscape can […]
Read MoreCutting People and Objects Out of Images in Photoshop
There are many ways to remove image backgrounds in Photoshop, or cut people and other objects out of photos, including some moderately-automatic ways. However, I’ve always found the output of most methods don’t produce results that I’m overly happy with (I just tried the “Object Selection Tool”, and verified that it’s output is less than […]
Read MoreImporting Large MySQL Files into PHPMyAdmin
The default file size for uploading mysql dump files into PHPmyadmin is around 2mb. I needed to upload a 160mb file. How to do it? 1. Increase the maximum execution time for phpmyadmin: I use xampp, so I just had to find the config.default.php file, which for me was located in xampp/phpMyAdmin/libraries/config.default.php. I then searched […]
Read MoreFixed Position Div Isn’t Staying Fixed When Scrolling on Android
My nice fixed position toolbar wasn’t sticking as it should as I scrolled through on my mobile browser window. It would appear sticky at times, but as I scrolled, it would slide up or down. The solution is to add “minimum-scale=1” to the meta viewport tag, which for me, now looks like this: <meta name=”viewport” […]
Read MoreCommunicating Website Design to Developers
Where we’ve gone recently as an industry is to develop overly-featured and unnecessary products for design…
Read MoreJoin Two Nodes That Sit On Top of Eachother in Inkscape
Joining two line segments in inkscape is generally pretty easy — at least if the two nodes to join are situated closely together so you can easily click on both and use the “join selected nodes” tool. But most of the time I want the nodes to sit right on top of eachother. How do […]
Read MoreDesigners Should Just Learn to Code
There is an ever-increasing number of web prototyping tools out there. From Adobe XD, to Invision, to Figma. And the number of apps within this niche seems to grow daily. Every posting for a potential project seems to list a need for knowing one, or a couple of these…
Read MoreWhy Do Stock Photo Companies Suck?
I have a growing distaste for stock photo companies. I remember trying to cancel my monthly subscription with Bigstockphoto.com — which took two tries and a call to their support. When canceling, they have three different prompts to ask if you’re sure, and apparently on one of those three screens, I clicked that I wasn’t, […]
Read More