Skip to content

Sompal4549/new-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

I learnt how to make the elipsis when text overflow and making variable in CSS. For making variables in css you just need to write --variableName : value; Like I want a variable for red color so I will write --red:#FF0000; and done the variable is ready for using this variable for color value you need to type var(--red) like this so this is the way you define and use the variable in CSS. For using the elipsis first let me tell you what it does like if you have define a container of 100px of width and 100px of height and your text overflows the container. There you need the thing like elipsis it adds three dots, it signs that there is some more text but hidden. like thi... if you want something this to happen in your webpage you can use this.

visit the live site by clicking this url https://sompal4549.github.io/new-repo/