Arrange a Masterclass

License

Unless otherwise stated, all content on this website, including code snippets, tips, techniques, and other materials, is made available under the MIT license. By using the content, you agree to the terms of this license.

You can read more about my decision in my announcement post.

Summary of the MIT License

The MIT license allows you to:

  • Use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the content.
  • Incorporate the content into personal or commercial projects.
  • The only requirement is that you include proper attribution by retaining the copyright notice and the following license text in all copies or substantial portions of the content.

Full MIT License Text

MIT License

Copyright (c) 2007–2024 Harry Roberts

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the ‘Software’), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Exceptions

  • Specific content may have different licensing terms, as explicitly stated on the relevant pages or sections. Please review the notes or comments for any such content before using it.

Attribution Requirements

When using content from this site:

  1. Include a copy of the license text or link back to this page in code repositories.
  2. Clearly credit the original author and source (e.g., ‘Content by Harry Roberts, csswizardry.com, available under the MIT license.’) in production code.

tl;dr

If you use any of my code snippets or examples—including in modified or derivative works—you must include proper credit and attribution. This ensures others know the source and that you respect the license terms.

Examples of how to provide attribution:

HTML:

<!--! Content by Harry Roberts, csswizardry.com, available under the MIT license. -->

CSS:

/*! Content by Harry Roberts, csswizardry.com, available under the MIT license. */

JS:

/*! Content by Harry Roberts, csswizardry.com, available under the MIT license. */

Questions or Permissions

Do I need to pay to use your code?

No, you don’t need to pay to use any of the code shared on csswizardry.com. My content is licensed under the MIT License, which allows free use for both personal and commercial purposes.

Do I need to apply to use your code?

No, there’s no need to apply or seek permission. The MIT License already grants you the right to use, modify, and distribute the code as long as you meet its conditions, which primarily involve proper attribution.

Do I need to tell you I’m using your code?

You’re not required to inform me, but I’d love to hear about it! It’s always rewarding to see how my work is being used, so feel free to drop me a line if you’d like to share what you’ve built.

What happens if I don’t comply?

If you don’t comply with the MIT License (e.g. by failing to include attribution), you’re in breach of the license. This means you lose the rights granted by it, and technically, your use of the code would be unauthorised.

I’d prefer to resolve issues amicably, so if there’s a misunderstanding, I’d encourage you to reach out so we can work things out.

Can I use your code in a commercial project?

Yes, you’re free to use my code in commercial projects. The MIT License permits this, and there are no hidden fees or obligations beyond proper attribution.

What does ‘proper attribution’ mean?

Proper attribution involves giving credit to the original source of the code. Typically, this means including a copy of the license and copyright notice in your repository and a comment in your code.

Can I modify your code?

Yes, the MIT License allows you to modify my code to suit your needs. Even if you make changes, you still need to include attribution to the original source.

Does using your code mean you support my project?

Not necessarily. While I’m happy to see my code being used, using it doesn’t imply my endorsement of your project.

What happens if someone else uses your code improperly?

If you’re aware of someone misusing my code, feel free to let me know. However, enforcement is ultimately my responsibility, and I’ll handle it as needed.

Where can I learn more about the MIT License?

You can read the full text of the MIT License or read the License page of this site.

Have a question that’s not covered?

I’d love to help! Feel free to get in touch with me.


Hi there, I’m Harry Roberts. I am an award-winning Consultant Web Performance Engineer, designer, developer, writer, and speaker from the UK. I write, Tweet, speak, and share code about measuring and improving site-speed. You should hire me.

You can now find me on Mastodon.


Suffering? Fix It Fast!

Projects

  • inuitcss
  • ITCSS – coming soon…
  • CSS Guidelines

Next Appearance

Learn:

I help teams achieve class-leading web performance, providing consultancy, guidance, and hands-on expertise.

I specialise in tackling complex, large-scale projects where speed, scalability, and reliability are critical to success.