A Pen by Vlastimil Fiser on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrap"> | |
<div class="box-wrap"> | |
<div class="box"> | |
<div class="inner"> | |
<div class="left"></div> | |
<div class="right"> | |
<div class="line line1"></div> | |
<div class="line line2"></div> | |
<div class="line line3"> | |
<div class="dot dot1"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wrap { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
position: relative; | |
width: 300px; | |
margin: 0 auto; | |
//background: red; | |
overflow: hidden; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# used by Git (commit messages, rebase, ...) | |
export EDITOR=vim | |
# GIT bash current branch | |
# by HABR (modified by Dundee) | |
export PSORIG="$PS1" | |
function GITBRANCH() { | |
BRANCH="$(git branch 2>/dev/null | grep '*' | cut -d" " -f2-)" | |
if [ -n "$BRANCH" ] ; then | |
export PS1=$PSORIG$(echo -en "\[\033[01;33m\]$BRANCH > \[\033[00m\]") |