How to make css style on Google custom search engine


Tags: css,google-custom-search

Problem :

I added Google's custom search engine to my website but I need to style the search box and icon a little bigger.

Help me, thanks in advance.



Solution :

    <div class="messagepop pop">  
    <script>    //Google Custom Search Engine Code 
    </script> 
    <gcse:search> </gcse:search> 
    </div>




    .messagepop input{
    border: none; 
    -webkit-border-radius: 5px; 
    -moz-border-radius: 5px; 
    border-radius: 5px; 
    outline:0; 
    height:55px; 
   padding: 5px;
    }



    .messagepop input{box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.34),
    -15px -14px 0px rgba(255, 255, 255, 1),
    18px -55px 0px rgba(255, 255, 255,1),
    33px -6px 0px rgba(255, 255, 255, 1); }
    .messagepop input:last-child{ background: #32c77f; 
    line-height: 50px;     height: 35px; width: 80px; margin-top: 28px; }


    CSS Howto..

    How do I programmatically change the CSS link for HTML files in C#?

    How can I use JQuery toggle for multile DIVs?

    How can I align text using CSS but perform like printf in C? [closed]

    How to put text and image in a same line?

    how to set css to a specific attribute of an input tag

    How to center the navigation on a drop down menu?

    How do I conditionally apply CSS styles in AngularJS?

    How to replace a specific text in CSS? [duplicate]

    How can you hide the arrow that is displayed by default on the HTML5
    element in Chrome?

    How do you set background-color rgba on the body with background-image also?

    How to get the navigation element to have horizontal lines after each nav element in css

    How to prevent from text to extend the
  • container height?
  • How to fix flexbox position:fixed navbar JS/CSS bug

    BackboneJS + HandlebarsJS - how to add image based on css

    how to get double border in using CSS?

    How can I force each piece of a quadrant to inhabit only its fourth of the area (HTML/CSS)?

    How can I simply freeze the first row of my table using pure Javascript, no plugins?

    How to set select box height in jquery moblie?

    How can I get a CSS/jQuery animated menu similar to ajusto.com?

    How to use custom field to add class to a post?

    How to specify different Css for different Mobiles (BB, Iphone, Nexus… )

    How to reload CSS when using Less.js

    How to use conditional CSS In CakePHP 2.x?

    How to vertically center more than one line of text (works only on chrome)?

    How to find which CSS files are used for current page

    How would I get an img element to render under a background-image in CSS

    overlaping text with different styles over image, prevent text of one style to be shown on top of the text of another style

    How do you spin side to side using css3 animation?

    How to add an icon to a button at the bottom right corner

    How to specify a html tag on a LESS CSS nested class?