AllInWorld99 provides a reference manual covering many aspects of web programming, including technologies such as HTML, XHTML, CSS, XML, JavaScript, PHP, ASP, SQL,FLASH, jQuery, java, for loop, switch case, if, if else, for...of, for...in, for...each,while loop, blogger tips, blogger meta tag generator, blogger tricks, blogger pagination, client side script, html code editor, javascript editor with instant output, css editor, online html editor, materialize css tutorial, materialize css dropdown list,break, continue statement, label,array, json, get day and month dropdown list using c# code, CSS button,protect cd or pendrive from virus, cordova, android example, html and css to make android app, html code play,telerik show hide column, Transparent image convertor, copy to clipboard using javascript without using any swf file, simple animation using css, SQL etc. AllInWorld99 presents thousands of code examples (accompanied with source code) which can be copied/downloaded independantly. By using the online editor provided,readers can edit the examples and execute the code experimentally.


    In the below example we are creating a 3D button only using CSS without any javascript or jQuery statements.

The CSS are shown below
#demo-7 {
    text-align:center;
}
#demo-7 button {
    border:0;
    border-radius:60px;
    background:#F00;
    box-shadow:0 5px 0 #000;
    color:#FFF;
    cursor:pointer;
    font-variant:small-caps;
    font-weight:bold;
    height:60px;
    padding:0;
    text-shadow:0 1px 0 #EEE;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
    transition:all .1s linear;
    width:60px;
}
#demo-7 button:active {
    box-shadow:0 2px 0 #666;
    -webkit-transform:translateY(3px);
    -moz-transform:translateY(3px);
    -o-transform:translateY(3px);
    transform:translateY(3px);
}
.credits {
    font-size:18px;
    position:absolute;
    bottom:15px;
    text-align:center;
    width:99%;
}
.credits a {
    color:#D1001C;
}

Remove blue border from css custom-styled button

When the button is active, you can see the blue border around the button like below image. blue border around the button
    If you want to remove this border you should need to put the below method
button {outline:0;}



Example Program:- (Editor)



Output:-

Advertisement


0 comments:

Post a Comment

Total Pageviews