What do you want to save?
Add Code snippet
New code examples
-
CSS 2021-10-17 14:07:03
css make all text center
/* Using flex to center anything*/ .parent{ display: flex; justify-content: center; /* Centering Horizantly */ align-items: center; /* Centering Vertically */ /* Every element inside this div will be centered*/ } /* Using Line Height*/ .main-div{ ... Add solution -
Html 2021-10-17 05:29:04
text sliding loop effect html
<!DOCTYPE html> <title>Example</title> <!-- Styles --> <style> .example1 { height: 50px; overflow: hidden; position: relative; } .example1 h3 { font-size: 3em; color: blue; position: absolute; width: 100%; height:... Add solution -
Other 2021-10-13 15:08:09
create anav bar by using flexbox
/* Submenu up from mobile screens */ .submenu { display: none; } .submenu-active .submenu { display: block; } .has-submenu i { font-size: 12px; } .has-submenu > a::after { &n... Add solution -
Html 2021-10-12 09:20:07
html position div inside div
.textblock-container { width: 500px; height: 500px; border: 1px solid red; position: relative; } div.textblock { width: 100px; height: 100px; line-height: 100px; border: 1px solid black; position: absolute; text-align: center; background: rg... Add solution -