• Home
  • Books
  • Node
  • Testing
  • JavaScript
  • More...
  • Search
  • About
  • Gear & Setup

CSS

A collection of 5 posts

#jamstack #css #tailwind #deployment

Tailwind CSS 1.x impressions, development and production setup for static sites with Tailwind CLI and PurgeCSS CLI

How to set Tailwind CSS up with a static site hosted on Netlify See the full starter repository at github.com/HugoDF/netlify-lambda-tailwind-static-starter Tailwind CSS is “a utility-first CSS framework for rapidly building custom designs”. I’ll be walking through my first ...

  • Hugo Di Francesco
    Author
6 min read
#deployment #meta #css #hugo

Switching the lights on: Hugo vs Hugo config files

A simple Hugo blog setup The story of getting codewithhugo.com up and running. The tl;dr is the following: I always rave about my blog setup, it’s simple, fast and just works I used Hugo, “The world’s fastest framework for building websites”, a static site generator I used a the ...

  • Hugo Di Francesco
    Author
8 min read
#CSS #tip #accessibility

Responsive, semantic images with CSS

CSS tip: object-fit your images. To have an image that doesn’t try to stretch to its width/height the classic CSS is as follows: ...

  • Hugo Di Francesco
    Author
1 min read
#CSS #javascript #animation #web development

Animations: CSS vs JavaScript

When should you use JavaScript when you can use CSS? This post was sparked by a question I answered on Quora: Which is better to use, CSS or JS? The web frontend is built with the triumvirate of HTML, CSS and JavaScript (see “Backend code, frontend code and how they interact” fo ...

  • Hugo Di Francesco
    Author
4 min read
#CSS #web development

Why CSS is hard

Things we’re not used to tend to be harder I’m a developer, and I CSS. I probably have written more CSS than I have written Java, Ruby, PHP, Python and JavaScript combined. Being a front-end developer is a dying art. By front-end I don’t mean ES6, Babelifyied React SPAs. I mean m ...

  • Hugo Di Francesco
    Author
3 min read
Page 1 of 1 

Interested in Alpine.js?

Power up your debugging with the Alpine.js Devtools Extension for Chrome and Firefox. Trusted by over 15,000 developers (rated 4.5 ⭐️).

Install Now close
Code with Hugo
Latest Posts Github