JSFiddle - React, Tailwind, and code Playground

by Alexander Tartmin

HTML

<div ng-app>
    <div ng-click="Ctrl.showLogout = !Ctrl.showLogout">Певый div (Ctrl.showLogout = {{Ctrl.showLogout}})</div>
    <div ng-if="!Ctrl.showLogout" class="second">Log out</div>
</div>

CSS

div div:first-child {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}