Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS isn't a programming language but.. #29

Open
LukyVj opened this issue Jan 20, 2022 · 4 comments
Open

CSS isn't a programming language but.. #29

LukyVj opened this issue Jan 20, 2022 · 4 comments

Comments

@LukyVj
Copy link

LukyVj commented Jan 20, 2022

You could easily make an "Hello world" in CSS using pseudo-element and a pseudo class ( :before/:after ) using the "content" property. Like so:

.element:after { 
  content: "Hello world"
}
@RemasteredArch
Copy link

Using body as the selector would make it work without needing to add HTML.

body::after {
  content: 'Hello World!'
}

@LukyVj
Copy link
Author

LukyVj commented Jan 20, 2022

Indeed!

@AnshuWorld
Copy link

i want to contribute here please assign me

@ad-si
Copy link
Owner

ad-si commented Oct 14, 2023

@AnshuWorld Feel free to open a Pull Request. I'd happily review it =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants