Written by Harry Roberts on CSS Wizardry.
N.B.
All code can now be licensed below the permissive MIT license.
Learn extra about licensing CSS Wizardry code samples…
Desk of Contents
Since founding csswizardry.com
in 2007, I’ve shared lots of of
articles, ideas, methods, methods, snippets, and extra—all for
free. These have ranged from easy one-liners to ideas which have formed
the best way hundreds of builders method their work.
This freemium mannequin has been the cornerstone of my consultancy enterprise for the
final 11 years, and as somebody who realized to code from freely out there
sources, I’m deeply dedicated to retaining this data accessible to
everybody.
Whereas it’s extremely rewarding to identify code impressed by my work throughout the net,
it may be disheartening to see it used with none attribution or credit score. With
this resolution, I intention to keep up the free and open spirit of csswizardry.com
whereas making certain a small nod of recognition in return.
Motives
Over time, conscientious builders and organisations have often
reached out to ask if they’ll use my code in business settings. My reply has
at all times been a casual sure!
Nonetheless, I really feel it’s time to offer extra construction and readability. To any extent further,
every little thing shared on csswizardry.com
—except said in any other case—is roofed by the
MIT License.
This transfer isn’t about limiting or limiting utilization. As a substitute, it formalises my
dedication to sharing my work freely whereas making it clear to business
organisations that they’re welcome to make use of it in for-profit ventures with out
worrying about licensing charges or compliance points.
In return, all I ask for is suitable credit score. I feel that’s truthful.
The MIT License
I selected the MIT License as a result of it’s one
of probably the most permissive and broadly used licenses out there. It lets you use,
modify, and reproduce my work freely, whether or not for private or business
functions.
On the identical time, it protects me by absolving any legal responsibility for the way the content material
is used. It’s a win-win.
The MIT License is already a well-recognized commonplace within the open-source world, so the
chances are high you or your organization have used work below this license earlier than. It’s
easy, clear, and works completely for my targets.
Utilizing My Code: What to Know
Listed below are solutions to widespread or anticipated questions on utilizing my code below the
MIT License.
Do I have to pay to make use of your code?
No, you don’t have to pay to make use of any of the code shared on csswizardry.com
. My content material is licensed below the MIT License, which permits free use for each private and business functions.
Do I would like to use to make use of your code?
No, there’s no want to use or search permission. The MIT License already grants you the fitting to make use of, modify, and distribute the code so long as you meet its circumstances, which primarily contain correct attribution.
Do I have to let you know I’m utilizing your code?
You’re not required to tell me, however I’d love to listen to about it! It’s at all times rewarding to see how my work is getting used, so be at liberty to drop me a line in case you’d prefer to share what you’ve constructed.
What occurs if I don’t comply?
If you happen to don’t adjust to the MIT License (e.g. by failing to incorporate attribution), you’re in breach of the license. This implies you lose the rights granted by it, and technically, your use of the code can be unauthorised.
I’d want to resolve points amicably, so if there’s a misunderstanding, I’d encourage you to succeed in out so we will work issues out.
Can I take advantage of your code in a business venture?
Sure, you’re free to make use of my code in business tasks. The MIT License permits this, and there are not any hidden charges or obligations past correct attribution.
What does ‘correct attribution’ imply?
Correct attribution entails giving credit score to the unique supply of the code. Usually, this implies together with a duplicate of the license and copyright discover in your repository and a remark in your code.
Can I modify your code?
Sure, the MIT License lets you modify my code to fit your wants. Even in case you make modifications, you continue to want to incorporate attribution to the unique supply.
Does utilizing your code imply you assist my venture?
Not essentially. Whereas I’m completely happy to see my code getting used, utilizing it doesn’t suggest my endorsement of your venture.
What occurs if another person makes use of your code improperly?
If you happen to’re conscious of somebody misusing my code, be at liberty to let me know. Nonetheless, enforcement is finally my duty, and I’ll deal with it as wanted.
The place can I study extra in regards to the MIT License?
You’ll be able to learn the complete textual content of the MIT License or learn the License web page of this web site.
Have a query that’s not coated?
I’d love to assist! Be happy to get in contact with me.
N.B.
All code can now be licensed below the permissive MIT license.
Learn extra about licensing CSS Wizardry code samples…
By Harry Roberts
Harry Roberts is an impartial guide internet efficiency engineer. He helps corporations of all sizes and styles discover and repair web site pace points.