0

What is meaning of inline ?

12th Jul 2018, 9:03 PM
shailesh upadhyay
4 Respostas
+ 3
to write a code in one line that is typically done in more.
12th Jul 2018, 9:44 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 1
In CSS, inline makes elements next to, or beside, on each other. Block puts elements above and below each other.
12th Jul 2018, 11:14 PM
James
James - avatar
0
it means it doesnt span multiple lines this isnt an inline function 1 function toRad(x) { 2 return x * Math.PI / 180 3 } this is an inline function 1 function toRad(x) { return Math.PI / 180 } As you can see there arent any new lines in the definition of the inline function so it only takes up one line
12th Jul 2018, 9:44 PM
koder
koder  - avatar
12th Jul 2018, 10:44 PM
Janning⭐
Janning⭐ - avatar