Posts by gcpdev • 208 points
6 posts
-
0
votes4
answers844
viewsA: How to Make Material Design Style Button Only with CSS
With transitions and some calculation in the background of radial-gradient in the hover. Edit: which is basically the codepen that @Rodrigo Daoud put in the comment, had not seen before posting the…
-
0
votes2
answers802
viewsA: Change single-button actions with javascript
Using jQuery you can easily change the label or functionality of a button when an event is triggered (in your case, when the div have the visibility changed, or something). Follow an example using…
javascriptanswered gcpdev 208 -
3
votes1
answer104
views -
1
votes1
answer54
viewsA: Error when serializing with namespace in if
You can save the second parameter to a variable. It should work this way: StringWriter sw = new StringWriter(); XmlTextWriter tw = new XmlTextWriter(sw); XmlSerializerNamespaces xsn = new…
-
0
votes4
answers1713
viewsA: How can I create a circle in CSS with number in the center to use in wordpress
Only use circular edge with gradient: #num { width: 75px; height: 75px; box-shadow: inset -25px -25px 40px rgba(0,0,0,.5); display: flex; flex-flow: column; align-items: center; /* alinhar…
-
2
votes3
answers808
viewsA: How to calculate the difference between the server time and the user’s computer?
You are involving PHP (server-side) variables with Javascript (client-side) variables. You need to define a strategy - or you pass the variable Javascript pro PHP or the PHP pro Javascript variable.…