Posts

Showing posts from April, 2020

How to Run a PHP File

Image
Today, we’re going to discuss how you can run PHP files. If you're new to PHP programming, this article will help you learn how to run PHP scripts. PHP is a server side scripting language which is mostly used to build web based applications. These may range from a very simple blog website to a full-fledged eCommerce website. In fact, PHP is one of the most popular server-side scripting languages for web development. If you’re a beginner in PHP programming and you don’t know what a PHP file is, I would recommend you to  review the basics of a PHP file .  PHP What Is a PHP File? Sajal Soni In this post, we’ll discuss different ways to run PHP files. Different Ways to Run PHP Files There are two ways to run PHP files. The preferred way of running PHP files is within a web server like Apache, Nginx, or IIS—this allows you to run PHP scripts from your browser. That’s how all PHP websites work! The other way is to run PHP scripts command line, and it doesn't require you t

The Hero Generator

Sarah : I’ve had to implement the same hero for several years now, so like a good lazy programmer, I figured I’d automate it. Direct Link to Article — Permalink The post The Hero Generator appeared first on CSS-Tricks . from CSS-Tricks https://ift.tt/2x9U7Lc

25 Best Taxi WordPress Themes 2020

Image
If you want to get more bookings for your taxi company, one thing is certain—you need a website. A taxi website will make it easy for customers to order a ride without having to call you.  And with a taxi WordPress theme , you can create a website for your taxi company in a matter of hours—complete with booking form functionality. There is no shortage of high quality taxi themes for WordPress and in this post, we’ll share the best of them. Where to Find the Best Taxi Themes For WordPress If you’re looking for the best taxi theme for WordPress, look no further than ThemeForest . This marketplace has thousands of gorgeous WordPress themes for every niche, taxi booking templates included. You can purchase each theme individually, install it onto your WordPress website, and then customize it to your heart’s delight.  Best Taxi Company Templates For WordPress Below, you’ll find the best taxi themes for WordPress available on ThemeForest. All of the themes feature modern design and hav

CSS-Tricks Chronicle XXXVIII

Image
Hey hey, these “chronicle” posts are little roundups of news that I haven’t gotten a chance to link up yet. They are often things that I’ve done off-site, like be a guest on a podcast or online conference. Or it’s news from other projects I work on. Or some other thing I’ve been meaning to shout out. Stuff like that! Enjoy the links! I chatted with Paul Campbell the other day during Admission Online, an online conference put together by the Tito crew . They’ve published all the videos there including mine . I had a chance to chat with Paul about his Tito service about last year on ShopTalk in a really great episode. Tito is a best-in-class software tool for running a conference. It helps you build a site, sell tickets, manage attendees, run reports, and all that. Clearly the COVID-19 situation has impacted that business a lot , so I admire the accelerated pivot they are doing by creating Vito , a new platform for running online conferences, and running these conferences super

Some Innocent Fun With HTML Video and Progress

Image
The idea came while watching a mandatory training video on bullying in the workplace. I can just hear High School Geoff LOL-ing about a wimp like me have to watch that thing. But here we are. The video UI was actually lovely, but it was the progress bar that really caught my attention – or rather the [progress].value . It was a simple gradient going from green to blue that grew as the video continued playing. If only I had this advice in high school… I already know it’s possible to create the same sort gradient on the <progress> element. Pankaj Parashar demonstrated that in a CSS-Tricks post back in 2016. I really wanted to mock up something similar but haven’t played around with video all that much. I’m also no expert in JavaScript. But how hard can that actually be? I mean, all I want to do is get know how far we are in the video and use that to update the progress value. Right? My inner bully made so much fun of me that I decided to give it a shot. It’s not the most

Real-World Effectiveness of Brotli

Image
Harry Roberts : The numbers so far show that the difference between no compression and Gzip are vast, whereas the difference between Gzip and Brotli are far more modest. This suggests that while the  nothing to Gzip  gains will be noticeable, the upgrade from Gzip to Brotli might perhaps be less impressive. The rub? Gzip made files 72% smaller than not compressing them at all, but Brotli only saved us an additional 5.7% over that. In terms of FCP, Gzip gave us a 23% improvement when compared to using nothing at all, but Brotli only gained us an extra 3.5% on top of that. So Brotli is just like spicy gzip. Still, I’ll take a handful of points by flipping a switch in Cloudflare. Direct Link to Article — Permalink The post Real-World Effectiveness of Brotli appeared first on CSS-Tricks . from CSS-Tricks https://ift.tt/3eJZIZy

A Book Apart Turning 10

Early congratulations, A Book Apart ! That’s a hell of a milestone. I’m quite sure I’ve read more A Book Apart books than any other tech book publisher. Katel LeDu runs the ship over there, and she’s given me very special pack of discount codes that will get you my book, Practical SVG , for free. So now it’s my job to get you those codes. There are only 10 of them—not enough for everyone. So I’m going to do some low-down, dirty-rotten, absolutely-shameless cross-marketing: I’m going to give them to the first 10 people who are CodePen PRO who email me at chriscoyier@gmail.com . CodePen PRO is only $12/month if you pay monthly or $8/month if you pay yearly, and this discount code is worth $14, so in the end, you get both and save a few bucks. If you’re already PRO, cool, thanks, you still qualify. You know what’s cool about Practical SVG? Even though I wrote it 4 years ago, SVG just doesn’t change that fast, so I’d say 90%+ I wouldn’t even change in a re-write. If you’re just learnin

How to Make Boring Presentations More Interesting & Fun (10 Expert Tips)

Image
When you take the stage for a presentation, the  last  thing you want to be is forgotten. If your presentation is boring, your content simply won't reach the audience. If you want to make a presentation more interesting, our network of experts is here to help.  Learn how to avoid giving boring presentations. (Image source: Envato Elements) We've surveyed leading presentation pros to get their perspectives. Here are ten tips that any presenter can use while learning how to make a boring presentation interesting. We'll also share some professional presentation templates that'll make it easier to create your next presentation. So, stay tuned to learn how to make a presentation fun and interesting. 1. Less Slide Content, More Speaking Points If there's one trap that I see rookie presenters fall into, it's this: they load their presentation slides with far too much content. To learn how to make a presentation interesting, it might be about  removing  slide