10 HTML and CSS tips that you need to knowπŸ˜‰

πŸ§΅πŸ‘‡πŸ»
1️⃣ Customize the text selection

- The ::selection pseudo-element matches the portion of an element that is selected by a user. h1::selection {   background: #e11d74;   color: white; }
2️⃣ Range Input

- You can change the styling of input type="range"
3️⃣ Custom Scrollbar

- Customize the scrollbar of your website in few minutes
4️⃣ Scrollable element

- If you have some fixed size element then use overflow: auto. It will convert your element into scrollable element
5️⃣ Underline text like a pro

- You can create "wavy" line using one line of CSS
6️⃣ will-change property

- You can optimize the performance of your web page by adding one line of CSS. will-change tells the browser that how an element is expected to change .class {   will-change: transform; }
7️⃣ Image Carousel

- You can create carousel using 2 lines of CSS
8️⃣ Regular Expression

- You can use "pattern" attribute in order to specifies the regular expression
9️⃣ Intact your company name

- Use "translate" attribute and set it value to "no" for your company name. So that in case, the webpage is translated into another language, your brand name will remain intact <footer>   <p translate="no">Company Name</p> </fo
πŸ”Ÿ Icons using HTML

- You can use HTML entity or HTML code to print some cool symbols or icons

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Pratham πŸ‘¨β€πŸ’»πŸš€

Pratham πŸ‘¨β€πŸ’»πŸš€ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Prathkum

4 Apr
Everything you need to know about CSS position property

ThreadπŸ§΅πŸ‘‡ Image
There are 5 values that you can pass in position property

- static
- relative
- absolute
- fixed
- sticky

In this thread we will be look at all of them

{ 2 / 19 }
Let's start with understanding what document flow is?

πŸ“Œ Elements are displayed on the screen as they written in the HTML document

Consider the following piece of code:

H1, P, H3 and div are displayed on the screen in exact order as they written in the HTML file

{ 3 / 19 } ImageImage
Read 19 tweets
3 Apr
Create 7 complicated figures using CSS β™ΎοΈβž‘οΈβ­πŸ”β€οΈ

πŸ§΅πŸ‘‡πŸ»
1️⃣ Infinity Symbol

It may look tough but trust me I created this symbol using border-radius only Image.infinity {   position: rel...
2️⃣ Arrow

Combination of rectangle and a triangle Image.arrow {   height: 40px;   ...
Read 9 tweets
3 Apr
2️⃣8️⃣ github.com/streamich/reac…

A great collection of pre built custom hooks that you can use in your project straight away. Hooks are divided into categories. Image
2️⃣9️⃣ github.com/Developer-Y/cs…

List of Computer Science courses with video lectures. Image
3️⃣0️⃣ github.com/leonardomso/33…

33 concepts every JavaScript developer should know. Image
Read 4 tweets
3 Apr
30 GitHub repositories that can help you as a developer

Mega Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ github.com/lydiahallie/ja…

Just found a great GitHub repository for JavaScript lovers. Image
2️⃣ github.com/dypsilon/front…

An amazing GitHub repository for Front-end development resources Image
Read 29 tweets
2 Apr
A Complete Guide to Getting Started with CSS

Thread 🧡 πŸ‘‡πŸ»
CSS is an amazing and unique language that servers a great purpose. We can make our website visually good using CSS. It describe the presentation of web pages, including typography,. layouts, color etc...

{ 2 / 23 }
We can't imagine web development without CSS. See two attached images

1. With CSS
2. Without CSS

Now imagine all websites without styling....

{ 3 / 23 }
Read 23 tweets
1 Apr
Top 10 JavaScript GitHub repositories that will take your skills to the next level

πŸ§΅πŸ‘‡πŸ»
1️⃣ github.com/workshopper/ja…

- Learn JavaScript by adventuring around in the terminal.
2️⃣ github.com/humanwhocodes/…

- Collection of classic computer science paradigms, algorithms, and approaches written in JavaScript.
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!