DEV Community

Cover image for CSS Ruled Paper
mrwolferinc
mrwolferinc

Posted on

 

CSS Ruled Paper

A ruled paper pattern with HTML and CSS.

Top comments (7)

Collapse
 
lukeshiru profile image
Luke Shiru • Edited

Niiiice! If you add this to your CSS:

.ruled-paper-body {
    padding-left: 6rem;
    line-height: 1.2rem;
    padding-top: 0.2rem;
}
Enter fullscreen mode Exit fullscreen mode

And then you add the attribute contenteditable to that element, then you can actually write on the paper 😄

Cheers!

Collapse
 
mrwolferinc profile image
mrwolferinc • Edited

That's a really good idea, I will add it.

Collapse
 
ash_bergs profile image
Ash

Brilliant! 🦄

Collapse
 
imiahazel profile image
Imia Hazel

Cool idea. Brilliant.

Collapse
 
ash_bergs profile image
Ash

This is very fun, thanks for the post!

Collapse
 
romancm profile image
Roman Cervantes

Brilliant, indeed. Thanks for sharing!

Collapse
 
mccurcio profile image
Matt Curcio

Love it, Funny and cool at the same time.

16 Libraries You Should Know as a React Developer

Being a modern React developer is not about knowing just React itself. To stay competitive, it is highly recommended to explore the whole ecosystem. This article contains some of the most useful React component libraries to speed up your developer workflow.