ILUS.CSS
whats new
- tags
- animations
- dropdowns
- tables
- new colors
- about
- importing
- classes
- utility
- more
importing
All ILUS css links are given below :-Buttons
ilus has a much more flat and good looking button it even has its own animationsimple button
disabled button
custom button
custom elements
all components in ilus.css are customisable you can use color classes to set the background color and text-clasess to set text colorInputs
you are probably tired of the usual input ilus.css has a much better looking inputSliders
sliders are ugly and styling them is hard ilus does the hard job for you and gives you an awsome range sliderall you need to do for making one of this is make an input with type of range and add the class "slider" to it
toggles
want an awsome toggle add class "toggle" to a input with type attribute of checkboxdefault toggle
cards
well cards are just cards and can be made by adding class of 'card' to a divhello world
i am a card which says hello world
badges
badges are used for representing numbers and symbols etccustom badge
navbar
a simple fixed navbar can be made by adding "nav" class to a nav elementsidenav
a side nav could be made by adding class of "sidenav" to a div. the unorderd or ordered list placed inside a sidenav gets a special styling and a cool hover effectlists
regular html list elements are nice but for more cooler lists you want an ilus listlist
- cool
- amazing
- marvellous
- epic?
note
notes can be used to give tips and important messages to the user there are 4 types of notesdefault note
victory note
victory
a default note could be turned into a victory note if you add an attribute of "victory" in the divhere is a linkalert note
warn note
positioning classes
right
add class "right" to any element to position it rightleft
add class"left" to any element for positioning it leftcenter
add class "center" to a parent element to center its child elementstext positioning
text-center
add 'text-center' class to center the text
text-right
adding class "text-right" aligns the text to the right
fonts
ilus comes with some good fonts you can use and you dont even have to remeber their names because ilus numbers the fonts- font-1
- font-2
- font-3
- font-4
font-1 is roberto default
font-2 is open sans
font-3 is comfortaa
font-4 is cinzel
colors
color classes can be used on any element to change its background color to it- red
- salmon
- lime
- green
- blue
- cyan
- gold
- yellow
- violet
- purple
- teal
- sea
- rose
- pink
- orange
- orangy
- brown
- wood
- light
- grey
- bright
- dark
- night
text-color
ilus v2 introduces text colors now text can be coloured using the color classes but you should add "text-" infront of the colorfor eg "text-red"
- text-red
- text-salmon
- text-lime
- text-green
- text-blue
- text-cyan
- text-gold
- text-yellow
- text-violet
- text-purple
- text-teal
- text-sea
- text-rose
- text-pink
- text-orange
- text-orangy
- text-brown
- text-wood
- text-light
- text-grey
- text-bright
- text-dark
- text-night
- text-auto
- text-alpha
utility
sharp
"sharp" class can be used to make a rounded object sharpimg
"img" class is used to make images look better

bg-img
"bg-img" class can be used to align the background image properlyhide
hide class can be used on any element to hide itshow
show class can be used to show any hidden elementcircle
circle class changes any element to a circle shaped onepill
pill class can be used on any element to give it a pill shapeflat
flat class removes all the shafow from an elementdepth
depth class adds shadow to an elementbuttons
ilus has a way better button to replace default browser button to make a regular button an ilus button just add the class
text inputs
ilus has a better looking in input too to make a regular input an ilus input add a class of
toggles & radios
in ilus checkboxes can take the form of toggles and radios becomes better looking just add a class of
sliders
ilus has an awsome looking range slider to make a regular range slider look like an ilus slider just add a class of
learn more about sliders & toggles
codes & tags
i am a code block
tags can be made using a
regular code element can be made to look like ilus code by adding a class of
tables
# | name | address | balance |
---|---|---|---|
1 | jade | local street.add | 500$ |
2 | crimeson | ht street.add | 5000$ |
3 | timmy | ed street.sub | 300$ |
tables are hard to style but ilus does the hard job for you to make a table look better just add the class of
lists
- list item
- list item
- list item
- list item
badges
badges can be used on buttons see how
notes
basic cards
card
this is an example card btw example text example textexample textexample textexample textexample textexample textexample textexample textexample text
tooltips
loaders
loaders can be used to show that something is being loaded or some action is taking place
to make one make a div with class of
<div class="loader">
<span></span>
<span></span>
<span></span>
</div>
dropdowns
dropdowns are just dropdownsto make one make a div with class
<div class="dropdown">
<button class="btn">dropdown btn<button>
<div class="dropdown-content">
<a>hellp</a>
<a>setup</a>
<a>code</a>
</div>
</div>
bars
bars are progress bars in ilus
<div class="bar">
<span class="bar-status" style="width:70%;">
<div class="bar-label">70%</div>
</span>
</div>
accordions
accordions are made by making a div with class
each section contains an input of type radio with their name attribute being same all throughout the sections in that accordion and each with its own unique id
each section should also contain a label with "for" attributes value being the same as the id of the radio input in that section text inside this label tag is the visible part of the accordion
now for the hidden part, in each section place a div with class
<div class="accordion">
<span>
<label for="ac-1">section-1</label>
<input type="radio" name="acc" id=ac-1>
<div class="accordion-content">
example text example text example text example text example text example text example text example text
</div>
</span>
<span>
<label for="ac-2">section-2</label>
<input type="radio" name="acc" id=ac-2>
<div class="accordion-content">
example text example text example text example text example text example text example text example text
</div>
</span>
<span>
<label for="ac-3">section-3</label>
<input type="radio" name="acc" id=ac-3>
<div class="accordion-content">
example text example text example text example text example text example text example text example text
</div>
</span>
</div>
navbars
template for fully functional responsive navbar which collapses into a sidenav in smaller screens
<nav class="nav">
<div class="nav-logo">logo</div>
<div class="nav-menu hide-from-md" onclick="openMenu()">
<span class="burger-menu"></span>
</div>
<ul class="hide-till-md">
<li>menu item </li>
<li>menu item </li>
<li>menu item </li>
<li>menu item </li>
</ul>
</nav>
<div class="sidenav hide-from-md">
<ul>
<li>menu item </li>
<li>menu item </li>
<li>menu item </li>
<li>menu item </li>
</ul>
</div>
<script>
function openMenu(){
document.querySelector(".sidenav").classList.toggle("active")
document.querySelector(".nav-menu").classList.toggle("opened")
}
</script>
nav
adding a class ofnav-logo
inside the ilus nav a div with classnav-menu
inside the ilus nav a div with classyou can also add an onclick attribute to trigger the function that opens the sidenav to the nav menu
you can also add an class of
regular menu
inside the ilus nav just add a ul with each list item representing the nav menu item also add a class ofwrap
please add a class ofsidenav
sidenav is a div with classinside the sidenav we add a ul with each list item representing a side nav menu option
topnav
adding a class ofhiding sidenavs
to hide a sidenav on larger devices add a class offunction for sidenav opening
to open the sidenav you need to write a simple javascript function
function openMenu(){
document.querySelector(".sidenav").classList.toggle("active")
document.querySelector(".nav-menu").classList.toggle("opened")
}
responsive grid
ilus-5 comes with a 12column responsive grid system too it makes it a lot easier to align elements
to use the grid make a div with class
you can also break the fluid grid into block in smaller devices to do that add a class of
utilities
alignment
alignment classes helps in positioning elementstext positioning
text positioning is exclusively for textpositions
position classes sets the position propertydisplay
display classes can be used to set display propertywidth & height
ilus provides a few classes for setting width & height based on view port sizefont styles
ilus imports awsome fonts for you from google fonts and provides classes to use themfont sizes
ilus provides few font size classestext boldness
border radius
border radius can be controlled by rounded classesbox shadow
box shadow classes lets you make easier box shadowspack
pack classes adds padding to an element
margin
margin classes adds margin to an element
wrap
wrap classes are used to set padding top & bottom
images
just add
background image
to make a background image align properly add the classglass
add a class of
colors
ilus has a awsome set of colours adding color classes to an element changes its background color to that colorvariable colours
all ilus colors are stored in variables so you can use them in regular css
for eg
animations
ilus can also serve as a mini animation library it comes with handy animation classesleft
add a class
right
add a class
top
add a class
down
add a class
zoom
add a class
spin
add a class
fade
add a class
flip
add a class
jelly
add a class
infinite animations
to repeat the animation infinite times useanimation linear
animation timing will be at constant speed if you used class ofanimation delay
to delay an animation by 1second useanimation alternate
use classanimation reverse
use classanimation forwards
using the classanimation speed
speed of the animation can be controlled using.anime-fastest .anime-faster .anime-fast .anime-slow .anime-slower .anime-slowest