Posts

Showing posts with the label css

Cool page load transition

Image
How did this happen? 1. Script executes at starting of page load, divides screen size into 16 and 9. 2. 16 blocks horizontal and 9 blocks vertical is generated 3. Each block is given respective height width according to screen size. 4. Blocks are give a transition delay in a for loop along with an increment. 5. The wavy effect is given by using custom bezier curves for transition Add this script and css to the top of your webpage for this cool transition.!!!! Visit my profile website to witness this effect in action jonesvinothjoseph.blogspot.in

Pure CSS responsive Navbar

Image
This is another element of web page, which normally requires some script. This is somewhat related to my last post " Pure CSS Collpasible Accordion ", where I used a 'radio button' to manipulate the collpase and expanding of panels. Same thing here, this time its a 'checkbox' and a 'label' which collapses and expands the navbar when screen size less than 600. Note: Refer to the previous post to see how 'radio button' and 'label' work together. A big nav [Desktop View] A collapsed nav [Mobile view] Full HTML + CSS code

Pure CSS Collpasible Accordion

Image
HTML accordion control made purely out of css. No JS !! Any accordion would definitely need some JS function The following accordion uses input type="radio" and the ' :checked + div ' CSS selector to collapse and expand content. Example selector: input[type="radio"]:checked + div{     /*expand this*/     height:200px; } The collapse code input[type="radio"]:not(:checked) + div{     /*collapse this*/     height:0px; } How does it work? The title of each collapsible is a label which has the attribute for="collapsible-1" to trigger the radio button collapsible-1 . Clicking the label checks the corresponding radio button. The div following the radio button is expanded as per the CSS code shown above [this collapses the rest of the div s automatically because its a radio button group, selecting one un-selects the other radio by default]. A radio button is added say collapse-all which...

CSS Monkey

Image
A monkey from pure CSS code. Made only from circles and ellipses, technically only ellipses. Eyes, ears, face and mouth are obvious ellipses. The smile and hair are ellipses too, a transparent one wit only one side border, and rotated in such a way that it looks like a strand of hair. Even the monkey's smile, is a ellipse covering the whole face, but its transparent and has a bottom-border  of few pixels which makes it look look like a smile. The complete CSS and the monkey:  See the Pen CSS Monkey by Jones Vinoth Joseph ( @jo_Geek ) on CodePen .

CSS Ghost - not really!

Image
Done using basic shapes. Circle , Rectangle , Semi-circle , Triangles See the Pen CSS Ghost by Jones Vinoth Joseph ( @jo_Geek ) on CodePen .

CSS Kitty

Image
Kitty with basic shapes in pure CSS. Well don't ask me why it is staring at you with mouth open!! I am no artist.. just put few circles and lines here and there to make it look like a cat!! Here is the code.. and the cat!! See the Pen CSS Kitty by Jones Vinoth Joseph ( @jo_Geek ) on CodePen .

Animated Gridlines CSS

Image
Animated grid lines in CSS. Sure has plenty of <div> tags in it..  See the Pen Animated gridlines by Jones Vinoth Joseph ( @jo_Geek ) on CodePen .

Windows style buttons CSS

Image
Windows style buttons with hover and click effect purely in CSS. Windows Classic, WindowsXP and Windows 7 buttons See the Pen Windows Buttons by Jones Vinoth Joseph ( @jo_Geek ) on CodePen .

CSS rainbow background

Image
Just some random CSS thoughts. Its actually not a background, its one div translating over the other! Rainbow colored gradient with background-position animated and a div over it with changing colors with some transparency. See the Pen Colors background by Jones Vinoth Joseph ( @jo_Geek ) on CodePen .