Share:

Little about my new framework - GoraiyaJS

GoraiyaJS will be web components based framework for front-end web designer. I am trying to include some basic and common component like Button, Label, TextInput, NumberInput, Checkbox, Radiobutton, and so on.

Here is the little example of button.  If you want to add default button using GoraiyaJS then below little HTML code you will write and rest  (CSS and JavaScript) GoraiyaJS will handle. See at last demo of Button. The CSS and JavaScript will built-in inside GoraiyaJS Framework. So, It will become standard for your every websites.

Program:

<span class='gjs-button'>
    Button
</span>

Program:

<!DOCTYPE html>
<html>
    <head>
        <link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'/>
        <style>
            body{
                padding:20px;
                font-family:roboto;
            }
            .gjs-button::selection{
                background-color:transparent;
            }
            .gjs-button{
                color:rgb(70,70,70);
                background-color:rgb(240,240,240);
                border-radius:3px;
                padding:7px 14px;
                font-size:14px;
                font-weight:bold;
                cursor:default;
            }
            .gjs-button:hover{
                background-color:rgb(220,220,220);
            }
            .gjs-button:active{
                background-color:rgb(200,200,200);
                box-shadow:0px 0px 3px 0px rgb(200,200,200);
            }
        </style>
    </head>
    <body>
        
        <span class='gjs-button'>
            Button
        </span>
        
    </body>
</html>

Output:

Button

Comments

Popular posts from this blog

Get Color From Pixel C# WPF | Saatody | Amit Padhiyar

Basic Audio Operations With MP3 And Wave Files Using NAudio C#

Create Drag And Drop Operation Between DevExpress GridControl And Custom WPF UI | Saatody | Amit Padhiyar